MapPolygonLayer constructor
const
MapPolygonLayer({
- Key? key,
- required Set<
MapPolygon> polygons, - Color? color,
- double strokeWidth = 1,
- Color? strokeColor,
- 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);