SwipeCards Flutter Package
swipable_card is a Flutter package that makes it easy to implement swipeable card layouts, inspired by Tinder-style gestures. With smooth animations, intuitive gestures, and flexible customization, you can create engaging swipe interactions for dating apps, product showcases, quizzes, or any card-based UI.
Features
SwipeCards Demo
| Loop | Without Loop |
|---|---|
![]() |
![]() |
Example
Check the example for a full demo app.
SwipeCards<String>(
controller: controller,
items: ["🍎", "🍌", "🍇", "🍓", "🍍"],
cardBuilder: (item) => CardContent(item: item),
loop: true,
onSwipeLeft: (item) {
print("Swiped Left: $item");
},
onSwipeRight: (item) {
print("Swiped Right: $item");
},
onSwipeUp: (item) {
print("Swiped Up: $item");
},
onSwipeDown: (item) {
print("Swiped Down: $item");
},
)

