widgets/slidable library
Classes
- Slidable
- A widget that can be slid in both direction of the specified axis.
- SlidableController
- A controller that keep tracks of the active SlidableState and close the previous one.
- SlidableData
- The data used by a Slidable.
- SlidableState
- The state of Slidable widget. You can open or close the Slidable by calling the corresponding methods of this object.
- SlideActionBuilderDelegate
- A delegate that supplies slide actions using a builder callback.
- SlideActionDelegate
- A delegate that supplies slide actions.
- SlideActionListDelegate
- A delegate that supplies slide actions using an explicit list.
Enums
- SlidableRenderingMode
- The rendering mode in which the Slidable is.
- SlideActionType
- The type of slide action that is currently been showed by the Slidable.
Typedefs
- DismissSlideActionCallback = void Function(SlideActionType? actionType)
-
Signature used by
SlideToDismissDelegateto indicate that it has been dismissed for the givenactionType. -
SlideActionBuilder
= Widget Function(BuildContext context, int index, Animation<
double> ? animation, SlidableRenderingMode step) - Signature for the builder callback used to create slide actions.
-
SlideActionWillBeDismissed
= FutureOr<
bool> Function(SlideActionType? actionType) -
Signature for determining whether the widget will be dismissed for the
given
actionType.