onTap property

(void Function(Offset localPosition)?) onTap
final

Called when the user taps on the map view.

Use localPosition to perform tasks based on the location of the tap, such as identifying the tapped item. Use with methods on ArcGISMapViewController such as ArcGISMapViewController.identifyLayer().

Implementation

final void Function(Offset localPosition)? onTap;