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.
Comments are closed.