custom_gesture_detector library

Classes

DoubleDetails
double tap callback details 双击的回调信息
DragDownDetails
Details object for callbacks that use GestureDragDownCallback. [...]
DragEndDetails
Details object for callbacks that use GestureDragEndCallback. [...]
DragStartDetails
Details object for callbacks that use GestureDragStartCallback. [...]
DragUpdateDetails
Details object for callbacks that use GestureDragUpdateCallback. [...]
GestureDetector
A widget that detects gestures. [...]
GestureRecognizerFactory<T extends GestureRecognizer>
Factory for creating gesture recognizers. [...]
GestureRecognizerFactoryWithHandlers<T extends GestureRecognizer>
Factory for creating gesture recognizers that delegates to callbacks. [...]
RawGestureDetector
A widget that detects gestures described by the given gesture factories. [...]
RawGestureDetectorState
State for a RawGestureDetector.
ScaleEndDetails
Details for GestureScaleEndCallback.
ScaleStartDetails
Details for GestureScaleStartCallback.
ScaleUpdateDetails
Details for GestureScaleUpdateCallback.
TapDownDetails
Details for GestureTapDownCallback, such as position [...]
TapUpDetails
Details for GestureTapUpCallback, such as position. [...]
Velocity
A velocity in two dimensions.

Typedefs

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. [...]
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. [...]