flutter_card_swiper
7.2.0, released a year ago by ricardodalarme.com
A Tinder-like card swiper widget with support for arbitrary directions and custom logic.
WASM-ready
What it does
Provides a customizable card stack widget that allows users to swipe cards in any direction (left, right, up, down). It supports card undo actions, custom thresholds, rotations, controllers for programmatic swiping, and callback events for swipe directions and completion.
AI-written summary of version 7.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building a dating app interface with left/right swiping.
- Creating interactive flashcard or decision-making apps using card stacks.
- Needing customizable swipe gestures in any direction with undo functionality.
Skip it when
- You need a standard horizontal carousel or image slider without physical card swiping mechanics.
- Building complex layout grids or lists.
Strengths
- Supports swiping in all four directions (left, right, up, down).
- Includes undo functionality and programmatic control via a controller.
- Highly customizable animations, angles, thresholds, and stacking behavior.
Weaknesses
- Limited to card stacking and swiping use cases.
- Requires manual disposal of controllers created externally.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
CardSwiper(
cardsCount: cards.length,
cardBuilder: (context, index, percentThresholdX, percentThresholdY) => cards[index],
)Alternatives
Packages that do the same job and could replace flutter_card_swiper.
- carousel_slider
Pick carousel_slider if you need a standard image or item carousel instead of a physical Tinder-style card swiping interface.
73Compare