discontinuedPackage some_widget_extensions has been discontinued.

theme property

ThemeData get theme

Obtain ThemeData from the current BuildContext.

Implementation

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