MyLocationWidget constructor

const MyLocationWidget({
  1. Key? key,
  2. MyLocationWidgetColorScheme? light,
  3. MyLocationWidgetColorScheme? dark,
})

Implementation

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