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 matchingregexwithspecialStyleand adds an optionalonTapcallback. -
styled(
TextStyle style) → Text -
Available on Text, provided by the ExtText extension
Returns a new Text widget with the givenstyle, 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). OptionalonTapcallback. -
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. OptionalonTapcallback.