onSecondaryTapCancel property Null safety
read / write
A pointer that previously triggered onSecondaryTapDown will not end up causing a tap.
This triggers once the gesture loses the arena if onSecondaryTapDown has previously been triggered.
If this recognizer wins the arena, onSecondaryTapUp is called instead.
See also:
- kSecondaryButton, the button this callback responds to.
- onTapCancel, a similar callback but for a primary button.
- onTertiaryTapCancel, a similar callback but for a tertiary button.
- GestureDetector.onSecondaryTapCancel, which exposes this callback.
Implementation
GestureTapCancelCallback? onSecondaryTapCancel;