holding_gesture library

Classes

HoldDetector
A widget that detects a holding gesture. [...]
HoldGestureRecognizer
Recognizes when the user has pressed down at the same location for a long period of time. Its waiting duration defaults to kHoldTimeout.

Constants

kHoldMilliseconds → const int
300
kHoldTimeout → const Duration
const Duration(milliseconds: kHoldMilliseconds)

Functions

resolve(dynamic accepted) → void

Typedefs

GestureHoldCallback() → void
Signature for when a pointer has remained in contact with the screen at the same location for a long period of time.
GestureHoldCancelCallback() → void
Signature for when the pointer that previously triggered a GestureTapDownCallback will not end up causing a tap. [...]