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 when the underlying platform requests a "dark mode" UI, can also be specified.

The default value of this property is the value of ThemeData.light().

See also:

Implementation

final ThemeData theme