PolylineLayer constructor

const PolylineLayer({
  1. required List<Feature<LineString>> polylines,
  2. Color color = const Color(0xFF000000),
  3. int width = 1,
  4. int gapWidth = 0,
  5. int blur = 0,
  6. List<int>? dashArray,
})

Create a new PolylineLayer instance.

Implementation

const PolylineLayer({
  required List<Feature<LineString>> polylines,
  this.color = const Color(0xFF000000),
  this.width = 1,
  this.gapWidth = 0,
  this.blur = 0,
  this.dashArray,
}) : super._(list: polylines);