onTap property
final
A tap with a primary button has occurred.
This triggers when the tap gesture wins. If the tap gesture did not win, onTapCancel is called instead.
See also:
- kPrimaryButton, the button this callback responds to.
- onTapUp, which is called at the same time but includes details regarding the pointer position.
Implementation
final GestureTapCallback? onTap;