styled_text library

Classes

CustomStyledText
Custom widget with formatting via tags.
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

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)
StyledTextWidgetBuilderCallback = Widget Function(BuildContext context, TextSpan textSpan)
The builder callback for the CustomStyledText widget.
StyledTextWidgetBuilderTagCallback = Widget Function(BuildContext context, Map<String?, String?> attributes, String? textContent)
Signature for the widget builder function for StyledTextWidgetBuilderTag