ThemeContext extension
Convenience accessors for theme lookup on BuildContext.
- on
Properties
- maybeTheme → Theme?
-
Available on BuildContext, provided by the ThemeContext extension
Returns the nearest theme from context, if any.no setter - theme → Theme
-
Available on BuildContext, provided by the ThemeContext extension
Returns the nearest theme from context, or the global theme.no setter