RoadOption class

RoadOption

this class used to configure road in runtime by change default color or width and show interest poi markers and zoom to region of the road.

roadColor : (Color) change the default color of the road

roadWidth : (double) change width of the road

roadBorderColor : (Color) it will define outline border color for road

roadBorderWidth : (double) if null the road will be without border,else we will show border but if roadBorderColor null road border color will be the same as roadColor

zoomInto : (bool) to zoomIn/Out that will make all the road visible in the map (default false)

Constructors

RoadOption({required Color roadColor, double roadWidth = 5, Color? roadBorderColor, bool zoomInto = true, bool isDotted = false, double? roadBorderWidth})
const
RoadOption.empty()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDotted → bool
final
roadBorderColor → Color?
final
roadBorderWidth → double?
final
roadColor → Color
final
roadWidth → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zoomInto → bool
final

Methods

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

Operators

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