MPStrokeStyle enum

The stroke pattern used when drawing a rendered route line.

Inheritance
Available extensions

Values

solid → const MPStrokeStyle

An unbroken line. This is the built-in default on both platforms.

const MPStrokeStyle("solid")
dashed → const MPStrokeStyle

A dashed line.

Google Maps on iOS has no native dashed-line primitive, so a route drawn with this style falls back to solid there.

const MPStrokeStyle("dashed")
dotted → const MPStrokeStyle

A dotted line.

const MPStrokeStyle("dotted")

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) → MPStrokeStyle
Parses MPStrokeStyle value of the enum

Constants

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