card_stack_widget
0.1.6, released 2 years ago by federicoviceconti.com
A vertical dismissible and customizable stack of cards for Flutter.
What it does
Provides a CardStackWidget and CardModel objects to display a stack of vertical cards that can be swiped, dismissed, tapped, and customized with scale factors, position factors, and opacity changes.
AI-written summary of version 0.1.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a Tinder-style or swipeable card stack interface in your app.
- You want customizable swipe orientations, scale factors, and dismiss durations for cards.
Skip it when
- You require complex grid or table layouts instead of vertical stacked cards.
- You are building non-Flutter web/desktop apps where card swiping gestures are irrelevant.
Strengths
- Supports customizable swipe and dismiss orientations.
- Includes configuration options for card scaling, position factor, and drag opacity.
Weaknesses
- Limited to a vertical stack of cards.
- Dependent solely on the provided CardModel structure.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
CardStackWidget(
opacityChangeOnDrag: true,
swipeOrientation: CardOrientation.both,
cardDismissOrientation: CardOrientation.both,
positionFactor: 3,
scaleFactor: 1.5,
alignment: Alignment.center,
reverseOrder: true,
animateCardScale: true,
cardList: mockList,
)Alternatives
Packages that do the same job and could replace card_stack_widget.
- card_stack_swiper
A customizable card stack swiper widget with swipe gestures and programmatic control.
61Compare - ticketcher
Create ticket-style cards, boarding passes, and coupons with custom notches, borders, and dividers.
77Compare - flip_card_swiper
Swipeable card stack widget with flip animations and optional haptics.
76Compare - neplox_linkpreviewer
Responsive link preview widget that fetches and caches web‑page metadata
59Compare