onCancel property
getter/setter pair
The pointer that previously triggered onTapDown did not complete.
This is called when a PointerCancelEvent is tracked when the onTapDown callback was previously called.
It may also be called if a PointerUpEvent is tracked after the pointer has moved past the tap tolerance but not past the drag tolerance, and the recognizer has not yet won the arena.
See also:
- kPrimaryButton, the button this callback responds to.
Implementation
GestureCancelCallback? onCancel;