swipable_stack library Null safety
Classes
- SwipableStack
- A widget for stacking cards, which users can swipe horizontally and vertically with beautiful animations.
- SwipableStackController
- An object to manipulate the SwipableStack.
Enums
- SwipeDirection
- The type of Action to use in SwipableStack.
Typedefs
-
OnWillMoveNext(
int index, SwipeDirection swipeDirection) → bool - Callback called just before launching the Swipe action.
-
SwipableStackItemBuilder(
BuildContext context, int index, BoxConstraints constraints) → Widget - Builder for items to be displayed in SwipableStack.
-
SwipableStackOverlayBuilder(
BuildContext context, BoxConstraints constraints, int index, SwipeDirection direction, double swipeProgress) → Widget - Builder for displaying an overlay on the most foreground card.
-
SwipeCompletionCallback(
int index, SwipeDirection direction) → void - Callback called when the Swipe is completed.