onSecondaryTap property

GestureTapCallback? onSecondaryTap
final

A tap with a secondary button has occurred.

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

See also:

  • kSecondaryButton, the button this callback responds to.
  • onSecondaryTapUp, which is called at the same time but includes details regarding the pointer position.

Implementation

final GestureTapCallback? onSecondaryTap;