auto_size_styled_text library

Classes

ActionTextStyle
A text style to make the text tappable.
AutoSizeStyledText
Text widget with formatting via tags.
AutoSizeStyledTextActionTag
A class that you can use to specify a callback that will be called when the tag is tapped.
AutoSizeStyledTextCustomTag
A custom text style, for which you can specify the processing of attributes of the tag.
AutoSizeStyledTextTag
The class that you can use to specify the text style for the tag.
AutoSizeStyledTextTagBase
AutoSizeStyledTextWidgetBuilderTag
A class in which you can specify the widget builder to insert in place of the tag.
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.
StyledTextIconTag
The class with which you can specify the icon for 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)
AutoSizeStyledTextCustomTagParser = TextStyle? Function(TextStyle? baseStyle, Map<String?, String?> attributes)
The signature of the tag attribute parser.
AutoSizeStyledTextTagActionCallback = void Function(String? text, Map<String?, String?> attributes)
AutoSizeStyledTextWidgetBuilderTagCallback = Widget Function(BuildContext context, Map<String?, String?> attributes)
Signature for the widget builder function for StyledTextWidgetBuilderTag
CustomTextStyleCallback = TextStyle? Function(TextStyle? baseStyle, Map<String?, String?> attributes)