Marker constructor

const Marker(
  1. GeoCoord position, {
  2. String label = '',
  3. String? icon,
  4. String? info,
  5. String? infoSnippet,
  6. ValueChanged<String>? onTap,
  7. VoidCallback? onInfoWindowTap,
})

Creates an instance of Marker.

Implementation

const Marker(
  this.position, {
  this.label = '',
  this.icon,
  this.info,
  this.infoSnippet,
  this.onTap,
  this.onInfoWindowTap,
});