NavigationTrafficWidget constructor
const
NavigationTrafficWidget({
- required TrafficController controller,
- Key? key,
- RoundedCorners roundedCorners = const RoundedCorners.all(),
- TrafficWidgetTheme? light,
- TrafficWidgetTheme? dark,
Implementation
const NavigationTrafficWidget({
required this.controller,
super.key,
this.roundedCorners = const RoundedCorners.all(),
TrafficWidgetTheme? light,
TrafficWidgetTheme? dark,
}) : super(
light: light ?? TrafficWidgetTheme.defaultLight,
dark: dark ?? TrafficWidgetTheme.defaultDark,
);