MapLine constructor

const MapLine({
  1. required MapLatLng from,
  2. required MapLatLng to,
  3. List<double>? dashArray,
  4. Color? color,
  5. double? width,
  6. StrokeCap? strokeCap,
  7. VoidCallback? onTap,
})

Creates a MapLine.

Implementation

const MapLine({
  required this.from,
  required this.to,
  this.dashArray,
  this.color,
  this.width,
  this.strokeCap,
  this.onTap,
});