styled_text library Null safety

Classes

ActionTextStyle
A text style to make the text tappable. [...]
CustomTextStyle
A custom text style, for which you can specify the processing of attributes of the tag. [...]
IconStyle
The style to insert the icon into styled text. [...]
StyledText
Text widget with formatting via tags. [...]
StyledTextActionTag
A class that you can use to specify a callback that will be called when the tag is tapped.
StyledTextCustomTag
A custom text style, for which you can specify the processing of attributes of the tag.
StyledTextIconTag
The class with which you can specify the icon for the tag.
StyledTextTag
The class that you can use to specify the text style for the tag.
StyledTextTagBase
StyledTextWidgetBuilderTag
A class in which you can specify the widget builder to insert in place of the tag. [...]
StyledTextWidgetTag
The class with which you can specify the widget to insert in place of the tag. [...]

Typedefs

ActionTappedCallback = void Function(TextSpan? text, Map<String?, String?> attributes)
CustomTextStyleCallback = TextStyle? Function(TextStyle? baseStyle, Map<String?, String?> attributes)
StyledTextCustomTagParser = TextStyle? Function(TextStyle? baseStyle, Map<String?, String?> attributes)
The signature of the tag attribute parser.
StyledTextTagActionCallback = void Function(String? text, Map<String?, String?> attributes)
StyledTextWidgetBuilderTagCallback = Widget Function(BuildContext context, Map<String?, String?> attributes)
Signature for the widget builder function for StyledTextWidgetBuilderTag