Polygon constructor

const Polygon({
  1. required String id,
  2. required List<LatLng> points,
  3. int strokeWidth = 1,
  4. Color? strokeColor = Colors.blue,
  5. Color fillColor = Colors.blue,
})

Implementation

const Polygon({
  required this.id,
  required this.points,
  this.strokeWidth = 1,
  this.strokeColor = Colors.blue,
  this.fillColor = Colors.blue,
});