onTapCancel property
getter/setter pair
A pointer that previously triggered onTapDown will not end up causing a tap.
This triggers once the gesture loses the arena if onTapDown has previously been triggered.
If this recognizer wins the arena, onTapUp and onTap are called instead.
See also:
- kPrimaryButton, the button this callback responds to.
- onSecondaryTapCancel, a similar callback but for a secondary button.
- onTertiaryTapCancel, a similar callback but for a tertiary button.
- GestureDetector.onTapCancel, which exposes this callback.
Implementation
GestureTapCancelCallback? onTapCancel;