onTap property

TapCallback? onTap
final

Callback that fires when the map gets tapped or clicked with the primary mouse button. This is normally the left mouse button. This callback does not fire if the gesture is recognized as a double click.

Implementation

final TapCallback? onTap;