gesture_handlers library
Classes
- AnimationControllerSwipeHandler
- AnyTapGestureRecognizer
- Recognizes tap down by any pointer button.
- AnyTapHandlerDelegate
- CascadeSwipeHandler
- DragHandler
- DragHandlerDelegate
- GestureHandler
- GestureHandlerComposer
- GestureListener
-
GestureModalBottomSheetRoute<
T> -
MaterialGesturePageRoute<
T> -
ModalBottomSheet<
T> -
ModalBottomSheetState<
T> - A concrete binding for applications based on the Widgets framework.
- RouteHorizontalDragGestureRecognizer
- RouteVerticalDragGestureRecognizer
- SwipeGestureTransition
- SwipeHandler
-
SwipeRouteHandler<
T> - TapHandler
- TapHandlerDelegate
Enums
Mixins
- AnimationControllerGestureMixin
- AnimationControllerSwipeHandlerMixin
- AnimationGestureMixin
- AnimationSwipeHandlerMixin
- DeactivatableGestureHandlerMixin
- GestureHandlerComposerMixin
-
GestureRouteDelegate<
T> -
GestureRouteTransitionMixin<
T> - GestureBinding implementation for prevent route GestureHandler active pointers canceling by NavigatorState.
Constants
- kSwipeFlingVelocity → const double
- kSwipeProgressThreshold → const double
Properties
- debugPrintPreventCancelPointer ↔ bool
-
Prints information about preventing cancel pointer with GestureBinding.cancelPointer.
getter/setter pair
-
kBottomTopTween
→ Animatable<
Offset> -
final
-
kLeftRightTween
→ Animatable<
Offset> -
final
-
kRightLeftTween
→ Animatable<
Offset> -
final
-
kTopBottomTween
→ Animatable<
Offset> -
final
Functions
-
createGestureBottomUpModalDelegate<
T> ({required BuildContext context, required WidgetBuilder builder, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, BoxConstraints? constraints, Color? barrierColor, bool isDismissible = true, RouteSettings? routeSettings}) → ShowGestureRouteDelegate< T> -
showGestureBottomUpModal<
T> ({required BuildContext context, required GestureRouteDelegate< T> gestureDelegate, required WidgetBuilder builder, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, BoxConstraints? constraints, Color? barrierColor, bool isDismissible = true, RouteSettings? routeSettings}) → Future<T?>
Typedefs
-
RecognizerFactories
= Map<
Type, GestureRecognizerFactory< GestureRecognizer> > -
ShowGestureRouteDelegate<
T> = Future< T?> Function(GestureRouteDelegate<T> gestureDelegate)