AdaptiveThemeProviderExtension extension
Extension to provide easy access to AdaptiveThemeProvider
- on
Properties
- adaptiveTheme → AdaptiveThemeProvider
-
Available on BuildContext, provided by the AdaptiveThemeProviderExtension extension
Get the AdaptiveThemeProvider from the widget treeno setter - isDarkTheme → bool
-
Available on BuildContext, provided by the AdaptiveThemeProviderExtension extension
Check if the current theme is darkno setter - isLightTheme → bool
-
Available on BuildContext, provided by the AdaptiveThemeProviderExtension extension
Check if the current theme is lightno setter - theme → ThemeData
-
Available on BuildContext, provided by the AdaptiveThemeProviderExtension extension
Get the current themeno setter - themeMode → AdaptiveThemeMode
-
Available on BuildContext, provided by the AdaptiveThemeProviderExtension extension
Get the current theme modeno setter
Methods
-
watchAdaptiveTheme(
) → AdaptiveThemeProvider -
Available on BuildContext, provided by the AdaptiveThemeProviderExtension extension
Watch the adaptive theme provider