CompassWidget constructor

const CompassWidget({
  1. Key? key,
  2. CompassWidgetColorScheme? light,
  3. CompassWidgetColorScheme? dark,
})

Implementation

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