theme property

ThemeData? theme
final

Default visual properties, like colors fonts and shapes, for this app's material 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:

Implementation

final ThemeData? theme;