theme property
ThemeData
get
theme
Retrieves the current theme used in the given context using Theme.of(context).
Implementation
ThemeData get theme => Theme.of(this);
Retrieves the current theme used in the given context using Theme.of(context).
ThemeData get theme => Theme.of(this);