theme property
ThemeData
get
theme
Gets the current theme.
Example:
final theme = context.theme;
Implementation
ThemeData get theme => Theme.of(this);
Gets the current theme.
Example:
final theme = context.theme;
ThemeData get theme => Theme.of(this);