geoShape function
GeoShape
geoShape({
- required Projection projection,
- required dynamic geoJson,
- Color? fillColor,
- Color? strokeColor,
- double strokeWidth = 1.0,
- bool antiAlias = true,
Creates a GeoShape painter with the given parameters.
Implementation
GeoShape geoShape({
required Projection projection,
required dynamic geoJson,
Color? fillColor,
Color? strokeColor,
double strokeWidth = 1.0,
bool antiAlias = true,
}) {
return GeoShape(
projection: projection,
geoJson: geoJson,
fillColor: fillColor,
strokeColor: strokeColor,
strokeWidth: strokeWidth,
antiAlias: antiAlias,
);
}