TrafficWidget constructor

const TrafficWidget({
  1. Key? key,
  2. TrafficWidgetColorScheme? light,
  3. TrafficWidgetColorScheme? dark,
})

Implementation

const TrafficWidget({
  super.key,
  TrafficWidgetColorScheme? light,
  TrafficWidgetColorScheme? dark,
}) : super(
        light: light ?? defaultLightColorScheme,
        dark: dark ?? defaultDarkColorScheme,
      );