theme property
Default visual properties, like colors fonts and shapes, for this app's Hera widgets.
A second darkTheme ThemeData value, which is used to provide a dark version of the user interface can also be specified. themeMode will control which theme will be used if a darkTheme is provided.
The default value of this property is the value of ThemeData.light().
See also:
- themeMode, which controls which theme to use.
- MediaQueryData.platformBrightness, which indicates the platform's desired brightness and is used to automatically toggle between theme and darkTheme in HeraApp.
- ThemeData.brightness, which indicates the Brightness of a theme's colors.
Implementation
final ThemeData? theme;