MapPolylineLayer constructor

const MapPolylineLayer({
  1. Key? key,
  2. required Set<MapPolyline> polylines,
  3. Animation<double>? animation,
  4. Color? color,
  5. double width = 2,
  6. StrokeCap strokeCap = StrokeCap.butt,
  7. List<double> dashArray = const <double>[0, 0],
  8. IndexedWidgetBuilder? tooltipBuilder,
})

Creates the MapPolylineLayer.

Implementation

const MapPolylineLayer({
  Key? key,
  required this.polylines,
  this.animation,
  this.color,
  this.width = 2,
  this.strokeCap = StrokeCap.butt,
  this.dashArray = const <double>[0, 0],
  IndexedWidgetBuilder? tooltipBuilder,
}) : super(key: key, tooltipBuilder: tooltipBuilder);