theme property Null safety

ThemeData theme

Shortcut for Theme.of(context).

Implementation

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