onSecondaryLongPressCancel property
getter/setter pair
Called when a pointer that previously triggered onSecondaryLongPressDown will not end up causing a long-press.
This triggers once the gesture loses the arena if onSecondaryLongPressDown has previously been triggered.
If this recognizer wins the arena, onSecondaryLongPressStart and onSecondaryLongPress are called instead.
If the gesture is deactivated due to postAcceptSlopTolerance having been exceeded, this callback will not be called, since the gesture will have already won the arena at that point.
See also:
- kSecondaryButton, the button this callback responds to.
Implementation
GestureLongPressCancelCallback? onSecondaryLongPressCancel;