Polyline class
Defines a polyline to draw on the map.
Constructors
Properties
-
data
→ List<
LatLng> -
The points which make the polyline.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → double?
-
Offset of the polyline in pixels when rendered on screen.
final
-
onPaint
→ dynamic Function(Canvas canvas, Polyline polyline, List<
Offset> points)? -
Used to draw the polyline in custom mode. E.g. drawing a color gradient.
final
- paint → Paint
-
Style of the polyline.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited