GeoShape constructor

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.

Implementation

GeoShape({
  required this.projection,
  required this.geoJson,
  this.fillColor,
  this.strokeColor,
  this.strokeWidth = 1.0,
  this.antiAlias = true,
}) {
  _geoPath = GeoPath(projection);
}