defaultLight constant
TrafficWidgetTheme
const defaultLight
Widget color scheme for default light mode.
Implementation
static const TrafficWidgetTheme defaultLight = TrafficWidgetTheme(
scoreStrokeSize: Size(24, 24),
trafficColor: ColorRamp(
colors: [
ColorMark(
color: DgisColorScheme.trafficGreen,
maxValue: 3,
),
ColorMark(
color: DgisColorScheme.trafficYellow,
maxValue: 6,
),
ColorMark(
color: DgisColorScheme.trafficRed,
maxValue: 999,
),
],
),
borderWidth: 2,
loaderColor: DgisColorScheme.trafficGreen,
scoreTextStyle: TextStyle(
leadingDistribution: TextLeadingDistribution.even,
height: 1,
color: DgisColorScheme.dimmedGrey,
fontSize: 19,
),
controlTheme: NavigationMapControlTheme.defaultLight,
);