PolylineOptions constructor

const PolylineOptions({
  1. required String id,
  2. required List<LatLng> points,
  3. Color color = const Color(0xFF1B5E20),
  4. double width = 6,
  5. bool geodesic = false,
  6. bool dotted = false,
})

Creates polyline options. id must be unique.

Implementation

const PolylineOptions({
  required this.id,
  required this.points,
  this.color = const Color(0xFF1B5E20),
  this.width = 6,
  this.geodesic = false,
  this.dotted = false,
});