Polyline constructor

Polyline({
  1. required List<LatLng> path,
  2. bool clickable = true,
  3. bool editable = false,
  4. bool geodesic = false,
  5. Color strokeColor = Colors.blueAccent,
  6. double strokeOpacity = 1,
  7. double strokeWeight = 1,
  8. bool visible = true,
  9. int zIndex = 1,
})

Implementation

Polyline({
  required List<LatLng> path,
  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,
}):_path=path,super(clickable: clickable,editable: editable,geodesic: geodesic,strokeColor: strokeColor,strokeOpacity: strokeOpacity,strokeWeight: strokeWeight,visible: visible,zIndex: zIndex);