ThemeExtensions extension
Theme and spacing helpers for BuildContext.
Example:
context.textTheme.titleLarge
context.spacing.md
- on
Properties
- colorScheme → ColorScheme
-
Available on BuildContext, provided by the ThemeExtensions extension
The color scheme from the current theme.no setter - spacing → Spacing
-
Available on BuildContext, provided by the ThemeExtensions extension
Spacing tokens (xs, sm, md, lg, xl).no setter - textTheme → TextTheme
-
Available on BuildContext, provided by the ThemeExtensions extension
The text theme from the current theme.no setter - theme → ThemeData
-
Available on BuildContext, provided by the ThemeExtensions extension
The current theme data.no setter