MapArc constructor Null safety

const MapArc(
  1. {required MapLatLng from,
  2. required MapLatLng to,
  3. double heightFactor = 0.2,
  4. double controlPointFactor = 0.5,
  5. List<double>? dashArray,
  6. Color? color,
  7. double? width,
  8. VoidCallback? onTap}
)

Creates a MapArc.

Implementation

const MapArc({
  required this.from,
  required this.to,
  this.heightFactor = 0.2,
  this.controlPointFactor = 0.5,
  this.dashArray,
  this.color,
  this.width,
  this.onTap,
});