text/text_widgets library
Classes
- Body0Text
- Body1Text
- Body2Text
- Body3Text
- ErrorText
- Headline3Text
- Headline4Text
- InputText
- LargeTitle
- LinkText
- NormalText
- PageSectionHeaderText
- PlaceholderText
- PrimaryText
- RichTextBuilder
- Allows for building rich text using the known styles
- SecondaryText
- StyledText
- TertiaryText
- TextWidgets
- TileSubtitle
- TileTitle
- TitleText
Enums
Extensions
Functions
-
richTextBuilder(
BuildContext context, RichTextBuild build) → Widget -
richTextInvertedBuilder(
BuildContext context, void build(RichTextBuilder builder)) → Widget -
SingleLineText(
String? text, {TextAlign? alignment, TextStyle? style}) → Text? -
textOrNull(
dynamic txt, {TextAlign? alignment, TextStyle? style, Color? color, bool wrap = true, int? maxLines}) → Widget?
Typedefs
- RichTextBuild = void Function(RichTextBuilder builder)
- StyleAdjuster = TextStyle Function(TextStyle theme)
- StyleExtractor = TextStyle? Function(TextTheme theme)