MapLineLayer constructor

const MapLineLayer({
  1. Key? key,
  2. required Set<MapLine> lines,
  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 MapLineLayer.

Implementation

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