onTap property

GestureTapCallback? onTap
read / write

A pointer has stopped contacting the screen, which is recognized as a tap of a primary button.

This triggers on the up event, if the recognizer wins the arena with it or has previously won, immediately following onTapUp.

If this recognizer doesn't win the arena, onTapCancel is called instead.

See also:


GestureTapCallback? onTap;