onMapClick property

(dynamic Function(LatLng?, Point<num>?)?) onMapClick
final

This callback will called when the user click on the map and response a LatLng object which contains all information about the location where user click

Implementation

final Function(LatLng?, Point?)? onMapClick;