Polygon constructor
const
Polygon({})
Creates an immutable representation of a polygon through geographical locations on the map.
Implementation
const Polygon({
required this.polygonId,
this.consumeTapEvents = false,
this.fillColor = Colors.black,
this.points = const <LatLng>[],
this.strokeColor = Colors.black,
this.strokeWidth = 10,
this.visible = true,
this.onTap,
});