MPRouteAnimationType enum

The animation drawn on top of a rendered route line.

The animated overlay is styled independently of the base line, through the animatedOverlay* properties of MPDirectionsRendererOptions.

Inheritance
Available extensions

Values

none → const MPRouteAnimationType

The route is drawn without an animated overlay.

const MPRouteAnimationType("none")
flow → const MPRouteAnimationType

A highlight that travels along the route in the direction of travel. This is the built-in default on both platforms.

const MPRouteAnimationType("flow")
pulse → const MPRouteAnimationType

The route line pulses in place.

const MPRouteAnimationType("pulse")
comet → const MPRouteAnimationType

A travelling highlight with a trailing fade behind it.

const MPRouteAnimationType("comet")

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromValue(String value) → MPRouteAnimationType
Parses MPRouteAnimationType value of the enum

Constants

values → const List<MPRouteAnimationType>
A constant List of the values in this enum, in order of their declaration.