swipeable_stack library Null safety

Classes

SwipeableStack<D extends SwipeableStackIdentifiable>
A widget that provides a stack with swipe action. [...]
SwipeableStackController<D extends SwipeableStackIdentifiable>
A class which controls SwipeableStack. [...]
SwipeableStackIdentifiable
An abstract class to identify the data for SwipeableStack.

Enums

SwipeDirection
The type of Action to use in SwipeableStack.

Typedefs

OnWillMoveNext<D extends SwipeableStackIdentifiable> = bool Function(D data, SwipeDirection swipeDirection)
A callback for SwipeableStack.onWillMoveNext.
SwipeableStackItemBuilder<D extends SwipeableStackIdentifiable> = Widget Function(BuildContext context, D data, BoxConstraints constraints)
A callback to build Widget with a data.
SwipeableStackOverlayBuilder<D extends SwipeableStackIdentifiable> = Widget Function(BuildContext context, BoxConstraints constraints, D data, SwipeDirection direction, double swipeProgress)
A callback for SwipeableStack.overlayBuilder.
SwipeCompletionCallback<D extends SwipeableStackIdentifiable> = void Function(D data, SwipeDirection direction)
A callback to show as a card with a data.