ExtText extension

on

Methods

specialText({required String regex, TextStyle? specialStyle, void onTap(int index, String text)?}) → Widget

Available on Text, provided by the ExtText extension

Highlights parts of the text matching regex with specialStyle and adds an optional onTap callback.
styled(TextStyle style) → Text

Available on Text, provided by the ExtText extension

Returns a new Text widget with the given style, preserving other properties.
withBold({void onTap(int index, String text)?}) → Widget

Available on Text, provided by the ExtText extension

Boldens text wrapped in asterisks (text). Optional onTap callback.
withTags({void onTap(int index, String text)?}) → Widget

Available on Text, provided by the ExtText extension

Styles text hashtags (#tag) with bold and blue color. Optional onTap callback.