Themes constructor
Themes({
- required Brightness brightness,
- required PlatformCardTheme cardTheme,
- required ThemeDataBuilder themeBuilder,
- required ThemeData lightTheme,
- required CupertinoVisualStyle visualStyle,
- PlatformOverlayTheme platformOverlayTheme = const PlatformOverlayTheme(),
- required CupertinoThemeData cupertinoTheme,
- ListTileTheme listTileTheme = const ListTileTheme(child: const SizedBox()),
- required ThemeData darkTheme,
Implementation
Themes(
{required this.brightness,
required this.cardTheme,
required this.themeBuilder,
required this.lightTheme,
required this.visualStyle,
this.platformOverlayTheme = const PlatformOverlayTheme(),
required this.cupertinoTheme,
this.listTileTheme = const ListTileTheme(child: const SizedBox()),
required this.darkTheme});