ThemeExtensions extension

Extension on BuildContext to provide theme-related utilities

on

Properties

colorScheme ColorScheme

Available on BuildContext, provided by the ThemeExtensions extension

Returns the current color scheme
no setter
isDarkMode bool

Available on BuildContext, provided by the ThemeExtensions extension

Returns true if the current theme is dark mode
no setter
textTheme TextTheme

Available on BuildContext, provided by the ThemeExtensions extension

Returns the current text theme
no setter
theme ThemeData

Available on BuildContext, provided by the ThemeExtensions extension

Returns the current theme data
no setter