TrackPlayback class

Collection of trips in a period of time

Constructors

TrackPlayback({required String id, required List<Polyline> polylines, MarkerIcon? carIcon, int duration = 5000, int overlookingAngle = 0, List<Marker>? afterEndMarkers, List<Color>? colors, List<int>? speeds, VoidCallback? onCompleted, VoidCallback? onCanceled})
const

Properties

afterEndMarkers List<Marker>?
After the trip, the displayed markers
final
carIcon MarkerIcon?
Driving car icon
final
colors List<Color>?
Corresponding to 'polylines', control the color of corresponding polylines
final
duration int
Duration of track playback
final
hashCode int
The hash code for this object.
no setteroverride
id String
Uniquely identifies a TrackPlayback.
final
onCanceled VoidCallback?
Callback after animation interruption
final
onCompleted VoidCallback?
Callback after animation completion
final
overlookingAngle int
Top view angle during travel
final
polylines List<Polyline>
The whole journey is composed of 'polylines'
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speeds List<int>?
Corresponding to 'polylines', the speed of the corresponding polyline
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override