TrafficLineWidget constructor

const TrafficLineWidget({
  1. required TrafficLineController controller,
  2. double height = 160,
  3. TrafficLineColorScheme? light,
  4. TrafficLineColorScheme? dark,
  5. 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,
      );