babel_text 2.1.2 copy "babel_text: ^2.1.2" to clipboard
babel_text: ^2.1.2 copied to clipboard

A easy and highly customizable "Text" and "SelectableText" component. Change dynamically styles, add intuitively onTap functions in texts, easily display tooltip messages and more!

2.1.2 #

  • Fixed onTapMapping parsing for symbols that contain regex-special characters.
  • Fixed combined styleMapping and onTapMapping usage when both share the same marker.
  • Added interaction tests covering complex rich-text tap scenarios for BabelText and BabelSelectableText.

2.1.1 #

  • Added package logo/screenshot for pub.dev

2.1.0 #

  • NEW: Added BabelSelectableText widget - a selectable text equivalent of BabelText with all the same customization features
  • NEW: Added BabelSelectableInline widget - a widget that creates selectable inline text with babel formatting
  • Support for text selection, copying, and all SelectableText-specific parameters (cursorColor, selectionControls, onSelectionChanged, etc.)
  • Full compatibility with existing babel text features (styleMapping, onTapMapping, innerWidgetMapping, onHoverTooltipMapping)

2.0.2 #

"BabelWidget" fields are not required

2.0.1 #

Export "BabelWidget"

2.0.0 #

  • BREAKING CHANGE: Changed innerWidgetMapping and defaultWidgetMapping to use BabelWidget Function(BuildContext context, TextStyle currentStyle) instead of Widget Function(BuildContext context, TextStyle currentStyle). This allows for more control over widget alignment and baseline through the BabelWidget class.

1.0.0 #

  • Initial release
3
likes
0
points
650
downloads

Publisher

unverified uploader

Weekly Downloads

A easy and highly customizable "Text" and "SelectableText" component. Change dynamically styles, add intuitively onTap functions in texts, easily display tooltip messages and more!

Repository (GitHub)
View/report issues

Topics

#text #tooltip #style

License

unknown (license)

Dependencies

flutter

More

Packages that depend on babel_text