TrafficLineWidget constructor
const
TrafficLineWidget({
- required TrafficLineController controller,
- double height = 160,
- TrafficLineColorScheme? light,
- TrafficLineColorScheme? dark,
- Key? key,
Implementation
const TrafficLineWidget({
required this.controller,
this.height = 160,
TrafficLineColorScheme? light,
TrafficLineColorScheme? dark,
super.key,
}) : super(
light: light ?? TrafficLineColorScheme.defaultLight,
dark: dark ?? TrafficLineColorScheme.defaultDark,
);