MapRectanlge constructor

MapRectanlge({
  1. required LatLngBounds bounds,
  2. Color fillColor = Colors.greenAccent,
  3. double fillOpacity = 1,
  4. bool clickable = true,
  5. bool editable = false,
  6. bool geodesic = false,
  7. Color strokeColor = Colors.blueAccent,
  8. double strokeOpacity = 1,
  9. double strokeWeight = 1,
  10. bool visible = true,
  11. int zIndex = 1,
})

Implementation

MapRectanlge({
  required LatLngBounds bounds,
  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,
}):_bounds=bounds,super(clickable: clickable,editable: editable,geodesic: geodesic,fillColor: fillColor,fillOpacity: fillOpacity,strokeColor: strokeColor,strokeOpacity: strokeOpacity,strokeWeight: strokeWeight,visible: visible,zIndex: zIndex);