PlatformTheme constructor

const PlatformTheme({
  1. required WidgetBuilder builder,
  2. ThemeMode? themeMode,
  3. ThemeData? materialLightTheme,
  4. ThemeData? materialDarkTheme,
  5. CupertinoThemeData? cupertinoLightTheme,
  6. CupertinoThemeData? cupertinoDarkTheme,
  7. bool matchCupertinoSystemChromeBrightness = true,
  8. void onThemeModeChanged(
    1. ThemeMode? mode
    )?,
  9. Key? key,
})

Implementation

const PlatformTheme({
  required this.builder,
  this.themeMode,
  this.materialLightTheme,
  this.materialDarkTheme,
  this.cupertinoLightTheme,
  this.cupertinoDarkTheme,
  this.matchCupertinoSystemChromeBrightness = true,
  this.onThemeModeChanged,
  super.key,
});