SwipeRouteHandler<T> class

Inheritance
Mixed in types

Constructors

SwipeRouteHandler({required ValueGetter<AnimationController> controllerFactory, required ValueGetter<ShowGestureRouteDelegate<T>> openRouteDelegate, required ValueGetter<double> getChildSize, double openProgressThreshold = kSwipeProgressThreshold, double closeProgressThreshold = kSwipeProgressThreshold, double minOpenFlingVelocity = kSwipeFlingVelocity, double minCloseFlingVelocity = kSwipeFlingVelocity, bool reverse = false, ValueGetter<bool>? isDeactivated, required DragDirection direction, DragStartBehavior dragStartBehavior = DragStartBehavior.start})

Properties

barrierGestureHandler GestureHandler?
no setteroverride
childSize double
no setteroverride
closeProgressThreshold double
final
controller AnimationController
no setteroverride
controllerFactory ValueGetter<AnimationController>
final
direction DragDirection
finalinherited
dragStartBehavior DragStartBehavior
finalinherited
gestureHandler GestureHandler
no setteroverride
getChildSize ValueGetter<double>
final
handleHorizontal bool
no setterinherited
handleVertical bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasRoute bool
no setterinherited
isAtMax bool
no setterinherited
isAtMin bool
no setterinherited
isDeactivated bool
no setteroverride
lowerBound double
no setterinherited
minCloseFlingVelocity double
final
minOpenFlingVelocity double
final
openProgressThreshold double
final
openRouteDelegate ValueGetter<ShowGestureRouteDelegate<T>>
final
reverse bool
final
route GestureRouteTransitionMixin<T?>?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upperBound double
no setterinherited
userGestureEnabled bool
Whether a gesture can be started by the user.
no setteroverride
userGestureInProgress bool
no setteroverride
value double
getter/setter pairinherited-setteroverride-getter

Methods

canAnimate(DragUpdateDetails e) bool
override
checkControllerStatusAndPopIfNeeded(AnimationStatus? status) → void
closeRoute([T? result]) → void
override
createAnimationController() AnimationController
override
didPop(T? result) → void
inherited
dispose() → void
override
disposeRoute() → void
override
flingVelocityAnimate(DragEndDetails e, double velocity) → void
inherited
forwardProgress() → void
inherited
initializeDragGestureRecognizer(DragGestureRecognizer instance) → void
inherited
initRoute(GestureRouteTransitionMixin<T?> route) → void
inherited
isForwardDirection(DragEndDetails e, double velocity) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDismiss() → void
onDragCancel() → void
override
onDragDown(DragDownDetails e) → void
inherited
onDragEnd(DragEndDetails e) → void
override
onDragStart(DragStartDetails e) → void
inherited
onDragUpdate(DragUpdateDetails e) → void
override
onlyIfActivated<T>(Function callback, [List? args, Map<Symbol, dynamic>? kwargs]) → void
inherited
recognizerFactories() RecognizerFactories
override
reverseProgress() → void
inherited
showRoute() Future<T?>
override
startUserGesture() → void
inherited
stopUserGesture() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited