FHUThemeDataExtension extension

Adds direct accessors for common ThemeData text styles and brightness checks.

These getters are aliases over ThemeData.textTheme intended to reduce repetitive theme.textTheme.* call chains in widget code.

on

Properties

bodyLarge TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the bodyLarge text style from the theme's TextTheme.
no setter
bodyMedium TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the bodyMedium text style from the theme's TextTheme.
no setter
bodySmall TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the bodySmall text style from the theme's TextTheme.
no setter
displayLarge TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the displayLarge text style from the theme's TextTheme.
no setter
displayMedium TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the displayMedium text style from the theme's TextTheme.
no setter
displaySmall TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the displaySmall text style from the theme's TextTheme.
no setter
headlineLarge TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the headlineLarge text style from the theme's TextTheme.
no setter
headlineMedium TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the headlineMedium text style from the theme's TextTheme.
no setter
headlineSmall TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the headlineSmall text style from the theme's TextTheme.
no setter
isDark bool

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns true if the theme's brightness is dark.
no setter
isLight bool

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns true if the theme's brightness is light.
no setter
labelLarge TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the labelLarge text style from the theme's TextTheme.
no setter
labelMedium TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the labelMedium text style from the theme's TextTheme.
no setter
labelSmall TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the labelSmall text style from the theme's TextTheme.
no setter
titleLarge TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the titleLarge text style from the theme's TextTheme.
no setter
titleMedium TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the titleMedium text style from the theme's TextTheme.
no setter
titleSmall TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns the titleSmall text style from the theme's TextTheme.
no setter

Methods

bodyLargeCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns bodyLarge with the provided overrides applied.
bodyMediumCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns bodyMedium with the provided overrides applied.
bodySmallCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns bodySmall with the provided overrides applied.
displayLargeCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns displayLarge with the provided overrides applied.
displayMediumCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns displayMedium with the provided overrides applied.
displaySmallCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns displaySmall with the provided overrides applied.
headlineLargeCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns headlineLarge with the provided overrides applied.
headlineMediumCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns headlineMedium with the provided overrides applied.
headlineSmallCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns headlineSmall with the provided overrides applied.
labelLargeCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns labelLarge with the provided overrides applied.
labelMediumCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns labelMedium with the provided overrides applied.
labelSmallCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns labelSmall with the provided overrides applied.
titleLargeCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns titleLarge with the provided overrides applied.
titleMediumCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns titleMedium with the provided overrides applied.
titleSmallCopy({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow}) TextStyle?

Available on ThemeData, provided by the FHUThemeDataExtension extension

Returns titleSmall with the provided overrides applied.
withoutEffects({bool noSplashColor = true, bool noHighlightColor = true, bool noHoverColor = true, bool noDividerColor = true, bool noFocusColor = true, bool noSplashFactory = true}) ThemeData

Available on ThemeData, provided by the FHUThemeDataExtension extension

Modifies the current ThemeData to optionally remove various visual feedback effects.