GeoShape constructor
GeoShape({
- required Projection projection,
- required dynamic geoJson,
- Color? fillColor,
- Color? strokeColor,
- double strokeWidth = 1.0,
- bool antiAlias = true,
Creates a GeoShape painter.
Implementation
GeoShape({
required this.projection,
required this.geoJson,
this.fillColor,
this.strokeColor,
this.strokeWidth = 1.0,
this.antiAlias = true,
}) {
_geoPath = GeoPath(projection);
}