card_stack_swiper
1.2.0, released 2 months ago by an unverified publisher
A customizable card stack swiper widget with swipe gestures and programmatic control.
What it does
Provides a stack of cards that can be swiped left, right, up, or down with smooth animations. Allows undoing swipes and controlling the swiper via a controller. Supports full customization of appearance and behavior.
AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a Tinder‑like swipe interface
- You want to programmatically trigger or undo swipes
- You require multi‑direction swipe gestures with callbacks
Skip it when
- You need a lightweight list without gesture handling
- You cannot migrate to the material_ui package
Strengths
- Highly customizable (duration, angle, offsets)
- Supports all swipe directions and undo
- Programmatic control via CardStackSwiperController
- Smooth physics‑based animations
Weaknesses
- Depends on the non‑standard material_ui package
- Requires Flutter 3.44+ and Dart 3.12+
- Breaking change may require code migration
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add `card_stack_swiper` and `material_ui` to pubspec, import `package:material_ui/material_ui.dart`. No native permissions required.
import 'package:material_ui/material_ui.dart';
import 'package:card_stack_swiper/card_stack_swiper.dart';
final controller = CardStackSwiperController();
CardStackSwiper(
controller: controller,
cardsCount: 5,
cardBuilder: (context, index, hPerc, vPerc) => Card(child: Center(child: Text('Card $index'))),
);Alternatives
Packages that do the same job and could replace card_stack_swiper.
- animated_segmented_tab_control
A customizable segmented tab control widget with smooth animations.
83Compare - flutter_joystick
A virtual joystick widget for Flutter applications with high customization.
81Compare - flash
Customizable alert and toast widget for Flutter
50Compare - flutter_polls
Customizable polls widget for Flutter applications.
50Compare
Works with
Packages commonly used together with card_stack_swiper: ones it builds on, ones built on it, and its own family.