onSecondaryLongPressCancel property Null safety
final
A pointer that previously triggered onSecondaryLongPressDown will not end up causing a long-press.
This triggers once the gesture loses if onSecondaryLongPressDown has previously been triggered.
If the user completed the long-press, and the gesture won, then onSecondaryLongPressStart and onSecondaryLongPress are called instead.
See also:
- kSecondaryButton, the button this callback responds to.
- LongPressGestureRecognizer.onSecondaryLongPressCancel, which exposes this callback at the gesture layer.
Implementation
final GestureLongPressCancelCallback? onSecondaryLongPressCancel;