onTapCancel property
(void Function()?)
onTapCancel
final
The pointer that previously triggered onTapDown will not end up causing a tap.
This is called after onTapDown, and instead of onTapUp and onTap, if the tap gesture did not win.
See also:
- kPrimaryButton, the button this callback responds to.
Implementation
final void Function()? onTapCancel;