PlatformTheme constructor
const
PlatformTheme({
- required WidgetBuilder builder,
- ThemeMode? themeMode,
- ThemeData? materialLightTheme,
- ThemeData? materialDarkTheme,
- CupertinoThemeData? cupertinoLightTheme,
- CupertinoThemeData? cupertinoDarkTheme,
- bool matchCupertinoSystemChromeBrightness = true,
- void onThemeModeChanged(
- ThemeMode? mode
- 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,
});