NavigationCompassWidget constructor

const NavigationCompassWidget({
  1. required CompassController controller,
  2. Key? key,
  3. NavigationCompassWidgetTheme? light,
  4. NavigationCompassWidgetTheme? dark,
})

Implementation

const NavigationCompassWidget({
  required this.controller,
  super.key,
  NavigationCompassWidgetTheme? light,
  NavigationCompassWidgetTheme? dark,
}) : super(
        light: light ?? defaultLightColorScheme,
        dark: dark ?? defaultDarkColorScheme,
      );