TrackPlayback constructor

const TrackPlayback({
  1. required String id,
  2. required List<Polyline> polylines,
  3. MarkerIcon? carIcon,
  4. int duration = 5000,
  5. int overlookingAngle = 0,
  6. List<Marker>? afterEndMarkers,
  7. List<Color>? colors,
  8. List<int>? speeds,
  9. VoidCallback? onCompleted,
  10. VoidCallback? onCanceled,
})

Implementation

const TrackPlayback({
  required this.id,
  required this.polylines,
  this.carIcon,
  this.duration = 5000,
  this.overlookingAngle = 0,
  this.afterEndMarkers,
  this.colors,
  this.speeds,
  this.onCompleted,
  this.onCanceled,
});