MapPolygon constructor

const MapPolygon({
  1. required List<MapLatLng> points,
  2. Color? color,
  3. Color? strokeColor,
  4. double? strokeWidth,
  5. VoidCallback? onTap,
})

Creates a MapPolygon.

Implementation

const MapPolygon({
  required this.points,
  this.color,
  this.strokeColor,
  this.strokeWidth,
  this.onTap,
});