LaneImageRenderSettings constructor
const
LaneImageRenderSettings({})
Creates lane guidance rendering settings with customizable colors.
Initializes rendering settings for lane guidance images. All color parameters are optional and default to values optimized for clarity: transparent background, white for recommended lanes, and gray for non-recommended lanes.
Parameters
backgroundColor- Background color behind the lane symbols (default: transparent)activeColor- Color for lanes the driver should use (default: white)inactiveColor- Color for lanes the driver should avoid (default: gray)
Implementation
const LaneImageRenderSettings({
this.backgroundColor = const Color.fromARGB(0, 0, 0, 0),
this.activeColor = const Color.fromARGB(255, 255, 255, 255),
this.inactiveColor = const Color.fromARGB(255, 140, 140, 140),
});