theme property

  1. @override
ThemeData get theme
override

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

@override
ThemeData get theme => get<IServiceTheme>().theme;