ThemeExt extension
Shortcuts for reading the active theme from a BuildContext.
Every helper goes through Theme.of, so widgets using them rebuild automatically when the theme changes.
- on
Methods
-
appColors(
) → AppThemeExtension -
Available on BuildContext, provided by the ThemeExt extension
The active AppThemeExtension, or the default light tokens when the current ThemeData has none registered. -
bodyLargeBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
bodyMediumBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
bodySmallBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
colorScheme(
) → ColorScheme -
Available on BuildContext, provided by the ThemeExt extension
-
displayLargeBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
displayMediumBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
displaySmallBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
headlineLargeBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
headlineMediumBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
headlineSmallBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
labelLargeBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
labelMediumBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
labelSmallBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
textTheme(
) → TextTheme -
Available on BuildContext, provided by the ThemeExt extension
-
titleLargeBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
titleMediumBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension
-
titleSmallBold(
) → TextStyle? -
Available on BuildContext, provided by the ThemeExt extension