Marker.custom constructor
const
Marker.custom({
- required List<
Location> locations, - required String icon,
- MarkerAnchor? anchor,
Create marker with custom icon
Implementation
const factory Marker.custom({
required List<Location> locations,
required String icon,
MarkerAnchor? anchor,
}) = CustomMarker;