Polygon(- {required List<List<LatLng>> paths,
- Color fillColor = Colors.greenAccent,
- double fillOpacity = 1,
- bool clickable = true,
- bool editable = false,
- bool geodesic = false,
- Color strokeColor = Colors.blueAccent,
- double strokeOpacity = 1,
- double strokeWeight = 1,
- bool visible = true,
- int zIndex = 1}
)
Implementation
Polygon({
required List<List<LatLng>> paths,
Color fillColor=Colors.greenAccent,
double fillOpacity=1,
// StrokePosition strokePosition=StrokePosition.CENTER,
bool clickable = true,
bool editable = false,
bool geodesic = false,
Color strokeColor = Colors.blueAccent,
double strokeOpacity = 1,
double strokeWeight = 1,
bool visible = true,
int zIndex = 1,
}):_paths=paths,super(clickable: clickable,editable: editable,geodesic: geodesic,fillColor: fillColor,fillOpacity: fillOpacity,strokeColor: strokeColor,strokeOpacity: strokeOpacity,strokeWeight: strokeWeight,visible: visible,zIndex: zIndex);