geoShape function

GeoShape geoShape({
  1. required Projection projection,
  2. required dynamic geoJson,
  3. Color? fillColor,
  4. Color? strokeColor,
  5. double strokeWidth = 1.0,
  6. 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,
  );
}