gesture library

Classes

AlwaysScrollableScrollPhysics
Scroll physics that always lets the user scroll. [...]
BallisticScrollActivity
An activity that animates a scroll view based on a physics Simulation. [...]
BouncingScrollPhysics
Scroll physics for environments that allow the scroll offset to go beyond the bounds of the content, but then bounce the content back to the edge of those bounds. [...]
BouncingScrollSimulation
An implementation of scroll physics that matches iOS. [...]
ClampingScrollPhysics
Scroll physics for environments that prevent the scroll offset from reaching beyond the bounds of the content. [...]
ClampingScrollSimulation
An implementation of scroll physics that matches Android. [...]
ClickGestureRecognizer
CompetitiveDragGestureRecognizer
DragDownDetails
Details object for callbacks that use GestureDragDownCallback. [...]
DragEndDetails
Details object for callbacks that use GestureDragEndCallback. [...]
DragScrollActivity
The activity a scroll view performs when a the user drags their finger across the screen. [...]
DragStartDetails
Details object for callbacks that use GestureDragStartCallback. [...]
DragUpdateDetails
Details object for callbacks that use GestureDragUpdateCallback. [...]
DrivenScrollActivity
An activity that animates a scroll view based on animation parameters. [...]
FixedScrollMetrics
An immutable snapshot of values associated with a Scrollable viewport. [...]
ForcePressDetails
Details object for callbacks that use GestureForcePressStartCallback, GestureForcePressPeakCallback, GestureForcePressEndCallback or GestureForcePressUpdateCallback. [...]
GestureClient
Pass gesture to native
GestureRecognizerFactory<T extends GestureRecognizer>
Factory for creating gesture recognizers. [...]
GestureRecognizerFactoryWithHandlers<T extends GestureRecognizer>
Factory for creating gesture recognizers that delegates to callbacks. [...]
HoldScrollActivity
A scroll activity that does nothing but can be released to resume normal idle behavior. [...]
IdleScrollActivity
A scroll activity that does nothing. [...]
LongPressEndDetails
Details for callbacks that use GestureLongPressEndCallback. [...]
LongPressMoveUpdateDetails
Details for callbacks that use GestureLongPressMoveUpdateCallback. [...]
LongPressStartDetails
Details for callbacks that use GestureLongPressStartCallback. [...]
NeverScrollableScrollPhysics
Scroll physics that does not allow the user to scroll. [...]
RenderSemanticsGestureHandler
Listens for the specified gestures from the semantics server (e.g. an accessibility tool).
ScaleEndDetails
Details for GestureScaleEndCallback.
ScaleStartDetails
Details for GestureScaleStartCallback.
ScaleUpdateDetails
Details for GestureScaleUpdateCallback.
ScrollActivity
Base class for scrolling activities like dragging and flinging. [...]
ScrollActivityDelegate
A backend for a ScrollActivity. [...]
ScrollContext
An interface that Scrollable widgets implement in order to use ScrollPosition. [...]
ScrollDragController
Scrolls a scroll view as the user drags their finger across the screen. [...]
ScrollHoldController
Interface for holding a Scrollable stationary. [...]
ScrollHorizontalDragGestureRecognizer
Recognizes movement in the horizontal direction. [...]
ScrollMetrics
A description of a Scrollable's contents, useful for modeling the state of its viewport. [...]
ScrollPhysics
Determines the physics of a Scrollable widget. [...]
ScrollPosition
Determines which portion of the content is visible in a scroll view. [...]
ScrollPositionWithSingleContext
A scroll position that manages scroll activities for a single ScrollContext. [...]
ScrollSpringSimulation
A SpringSimulation where the value of x is guaranteed to have exactly the end value when the simulation isDone.
ScrollVerticalDragGestureRecognizer
Recognizes movement in the vertical direction. [...]
Simulation
The base class for all simulations. [...]
TapDownDetails
Details for GestureTapDownCallback, such as position. [...]
TapUpDetails
Details for GestureTapUpCallback, such as position. [...]
Tolerance
Structure that specifies maximum allowable magnitudes for distances, durations, and velocity differences to be considered equal.
Velocity
A velocity in two dimensions.

Enums

ScrollPositionAlignmentPolicy
The policy to use when applying the alignment parameter of ScrollPosition.ensureVisible.

Typedefs

GestureClickCallback(Event) → void
A tap with a primary button has occurred.
GestureDragCancelCallback() → void
Signature for when the pointer that previously triggered a GestureDragDownCallback did not complete. [...]
GestureDragDownCallback(DragDownDetails details) → void
Signature for when a pointer has contacted the screen and might begin to move. [...]
GestureDragEndCallback(DragEndDetails details) → void
Signature for when a pointer that was previously in contact with the screen and moving is no longer in contact with the screen. [...]
GestureDragStartCallback(DragStartDetails details) → void
Signature for when a pointer has contacted the screen and has begun to move. [...]
GestureDragUpdateCallback(DragUpdateDetails details) → void
Signature for when a pointer that is in contact with the screen and moving has moved again. [...]
GestureForcePressEndCallback(ForcePressDetails details) → void
Signature for when the pointer that previously triggered a ForcePressGestureRecognizer.onStart callback is no longer in contact with the screen.
GestureForcePressPeakCallback(ForcePressDetails details) → void
Signature used by ForcePressGestureRecognizer for when a pointer that has pressed with at least ForcePressGestureRecognizer.peakPressure.
GestureForcePressStartCallback(ForcePressDetails details) → void
Signature used by a ForcePressGestureRecognizer for when a pointer has pressed with at least ForcePressGestureRecognizer.startPressure.
GestureForcePressUpdateCallback(ForcePressDetails details) → void
Signature used by ForcePressGestureRecognizer during the frames after the triggering of a ForcePressGestureRecognizer.onStart callback.
GestureLongPressCallback() → void
Callback signature for LongPressGestureRecognizer.onLongPress. [...]
GestureLongPressEndCallback(LongPressEndDetails details) → void
Callback signature for LongPressGestureRecognizer.onLongPressEnd. [...]
GestureLongPressMoveUpdateCallback(LongPressMoveUpdateDetails details) → void
Callback signature for LongPressGestureRecognizer.onLongPressMoveUpdate. [...]
GestureLongPressStartCallback(LongPressStartDetails details) → void
Callback signature for LongPressGestureRecognizer.onLongPressStart. [...]
GestureLongPressUpCallback() → void
Callback signature for LongPressGestureRecognizer.onLongPressUp. [...]
GestureRecognizerFactoryConstructor<T extends GestureRecognizer>() → T
Signature for closures that implement GestureRecognizerFactory.constructor.
GestureRecognizerFactoryInitializer<T extends GestureRecognizer>(T instance) → void
Signature for closures that implement GestureRecognizerFactory.initializer.
GestureScaleEndCallback(ScaleEndDetails details) → void
Signature for when the pointers are no longer in contact with the screen.
GestureScaleStartCallback(ScaleStartDetails details) → void
Signature for when the pointers in contact with the screen have established a focal point and initial scale of 1.0.
GestureScaleUpdateCallback(ScaleUpdateDetails details) → void
Signature for when the pointers in contact with the screen have indicated a new focal point and/or scale.
GestureTapCallback() → void
Signature for when a tap has occurred. [...]
GestureTapCancelCallback() → void
Signature for when the pointer that previously triggered a GestureTapDownCallback will not end up causing a tap. [...]
GestureTapDownCallback(TapDownDetails details) → void
Signature for when a pointer that might cause a tap has contacted the screen. [...]
GestureTapUpCallback(TapUpDetails details) → void
Signature for when a pointer that will trigger a tap has stopped contacting the screen. [...]
isAcceptedDragCallback(AxisDirection direction) → bool