Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

A simple Flutter Package to Mimic iMessage Image Picker

Swipe Deck

A simple Flutter Package to Mimic iMessage Image Picker for Flutter

Current Features

Demo

Usage

To Use, simply Wrap the Widget you want to add Focused Menu to, with FocusedMenuHolder:

      body: Container(
        child: SwipeDeck(
          startIndex: 3,
          aspectRatio: 4 / 3,
          emptyIndicator: Container(child: Center(child: Text("Nothing Here"),),),
          widgets: IMAGES
              .map((e) => GestureDetector(
                    onTap: () {
                      print(e);
                    },
                    child: ClipRRect(
                        borderRadius: borderRadius,
                        child: Image.asset(
                          "assets/images/$e.jpg",
                          fit: BoxFit.cover,
                        )),
                  ))
              .toList(),
        ),
      ),

Download this package source code on GitHub

Exit mobile version