discontinuedPackage dev_toolkit has been discontinued.

theme property

ThemeData get theme

Implementation

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