MapPolygonLayer constructor

const MapPolygonLayer(
  1. {Key? key,
  2. required Set<MapPolygon> polygons,
  3. Color? color,
  4. double strokeWidth = 1,
  5. Color? strokeColor,
  6. IndexedWidgetBuilder? tooltipBuilder}
)

Creates the MapPolygonLayer.

Implementation

const MapPolygonLayer({
  Key? key,
  required this.polygons,
  this.color,
  this.strokeWidth = 1,
  this.strokeColor,
  IndexedWidgetBuilder? tooltipBuilder,
})  : _fillType = _VectorFillType.inner,
      super(key: key, tooltipBuilder: tooltipBuilder);