CText extension

Extension methods for TextStyle related to Caravaggio UI theme.

on

Properties

bodyLarge TextStyle
Applies body large text size to the current text style.
no setter
bodyMedium TextStyle
Applies body medium text size to the current text style.
no setter
bodySmall TextStyle
Applies body small text size to the current text style.
no setter
bold TextStyle
Applies bold font weight to the current text style.
no setter
displayLarge TextStyle
Applies display large text size to the current text style.
no setter
displayMedium TextStyle
Applies display medium text size to the current text style.
no setter
displaySmall TextStyle
Applies display small text size to the current text style.
no setter
headlineLarge TextStyle
Applies headline large text size to the current text style.
no setter
headlineMedium TextStyle
Applies headline medium text size to the current text style.
no setter
headlineSmall TextStyle
Applies headline small text size to the current text style.
no setter
italic TextStyle
Applies italic font style to the current text style.
no setter
labelLarge TextStyle
Applies label large text size to the current text style.
no setter
labelMedium TextStyle
Applies label medium text size to the current text style.
no setter
labelSmall TextStyle
Applies label small text size to the current text style.
no setter
primary TextStyle
Applies primary color to the current text style.
no setter
primaryDark TextStyle
Applies primary dark color to the current text style.
no setter
primaryLight TextStyle
Applies primary light color to the current text style.
no setter
secondary TextStyle
Applies secondary color to the current text style.
no setter
secondaryDark TextStyle
Applies secondary dark color to the current text style.
no setter
secondaryLight TextStyle
Applies secondary light color to the current text style.
no setter
titleLarge TextStyle
Applies title large text size to the current text style.
no setter
titleMedium TextStyle
Applies title medium text size to the current text style.
no setter
titleSmall TextStyle
Applies title small text size to the current text style.
no setter
white TextStyle
Applies white color to the current text style.
no setter

Constants

bodyLargeSize → const double
Font size for body large text.
bodyMediumSize → const double
Font size for body medium text.
bodySmallSize → const double
Font size for body small text.
displayLargeSize → const double
Font size for display large text.
displayMediumSize → const double
Font size for display medium text.
displaySmallSize → const double
Font size for display small text.
headlineLargeSize → const double
Font size for headline large text.
headlineMediumSize → const double
Font size for headline medium text.
headlineSmallSize → const double
Font size for headline small text.
labelLargeSize → const double
Font size for label large text.
labelMediumSize → const double
Font size for label medium text.
labelSmallSize → const double
Font size for label small text.
style → const TextStyle
Default text style.
titleLargeSize → const double
Font size for title large text.
titleMediumSize → const double
Font size for title medium text.
titleSmallSize → const double
Font size for title small text.