LaneImageRenderSettings class Core

Rendering settings for lane guidance images in navigation instructions.

Configures the visual appearance of lane guidance images that show which lanes the driver should use for upcoming maneuvers. Controls the background color, active lane color (recommended lanes), and inactive lane color (lanes to avoid). All color properties default to optimal values: transparent background, white active lanes, and gray inactive lanes for clear visual distinction.

See also:

Constructors

LaneImageRenderSettings({Color backgroundColor = const Color.fromARGB(0, 0, 0, 0), Color activeColor = const Color.fromARGB(255, 255, 255, 255), Color inactiveColor = const Color.fromARGB(255, 140, 140, 140)})
Creates lane guidance rendering settings with customizable colors.
const
LaneImageRenderSettings.fromJson(Map<String, dynamic> json)
Deserializes a JSON-compatible map to create an instance.
factory

Properties

activeColor Color
Color for recommended lanes the driver should use.
final
backgroundColor Color
Background color behind the lane guidance symbols.
final
hashCode int
The hash code for this object.
no setteroverride
inactiveColor Color
Color for non-recommended lanes the driver should avoid.
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
toJson() Map<String, dynamic>
Serializes this instance to a JSON-compatible map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(covariant LaneImageRenderSettings other) bool
The equality operator.
override