DefaultMarker constructor

const DefaultMarker({
  1. required List<GeocodedLocation> locations,
  2. Color? color,
  3. MarkerSize? size,
  4. String? label,
})

Implementation

const DefaultMarker({
  required List<GeocodedLocation> locations,
  this.color,
  this.size,
  this.label,
})  : assert(
        label == null || label.length == 1,
        "Label can have only one letter",
      ),
      super._(locations);