onTap property

GestureTapCallback onTap
final

A tap has occurred.

This triggers when the tap gesture wins. If the tap gesture did not win, onTapCancel is called instead.

See also:

  • onTapUp, which is called at the same time but includes details regarding the pointer position.

Implementation

final GestureTapCallback onTap