theme property

ThemeData theme

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:


final ThemeData theme