theme property

ThemeData theme

Allows access to the current theme data Example:

final theme = context.theme; // Access current theme data

Implementation

ThemeData get theme => Theme.of(this);