swipe_deck 1.0.0 copy "swipe_deck: ^1.0.0" to clipboard
swipe_deck: ^1.0.0 copied to clipboard

A simple Flutter Package to Mimic iMessage Image Picker for Flutter

Swipe Deck #

A simple Flutter Package to Mimic iMessage Image Picker for Flutter

Current Features #

  • Add List of Widgets to present them in a Swipable Deck
  • Basic Customizations Widget

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(),
        ),
      ),

Roadmap #

Plans to add more customizations.

License #

MIT

224
likes
140
pub points
83%
popularity

Publisher

verified publisherretroportalstudio.com

A simple Flutter Package to Mimic iMessage Image Picker for Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, provider

More

Packages that depend on swipe_deck