theme property

ThemeData get theme

The data from the closest Theme instance that encloses the given context.

Implementation

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