babel_text
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.2.2
Go-Babel/babel_text
What this package is like to depend on
Last release 7 days ago
16 Aug 2026
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
10 releases · first in 2025
6 releases in the last 12 months
see the full history below
Release timeline
10 releases · Apr 2025 to Aug 2026
2026
Releases
latest 10-
2.2.216 Aug 2026Release notes
Open source →- Fixed the vertical alignment of text wrapped with hover tooltips by preserving the surrounding alphabetic baseline.
- Added a regression test for tooltip-enabled inline text alignment.
-
2.2.118 Mar 2026Release notes
Open source →- Added
BabelTextSettings.defaultTooltipWaitDuration(...)to configure a package-wide default hover delay before tooltips appear. - Allowed
BabelTooltipMessage.tooltipTheme.waitDurationto override the package-wide default for a single tooltip. - Updated the README to document tooltip hover delay configuration and precedence.
- Added
-
2.2.018 Mar 2026Release notes
Open source →- Added per-tooltip
TooltipThemeDataoverrides throughBabelTooltipMessage.tooltipTheme. - Added
BabelTooltipMessage.contentTextStyleto control the rich text style rendered inside a tooltip. - Added global tooltip text style configuration with
BabelTextSettings.defaultTooltipTextStyleSource. - Added
BabelTooltipTextStyleSourceso tooltips can use Flutter's tooltip styling or the legacy trigger text styling. - Added tests covering tooltip styling behavior for both
BabelTextandBabelSelectableText. - Warning: tooltip text styling now defaults to Flutter's tooltip theme/default behavior. To keep the previous behavior, switch to
BabelTooltipTextStyleSource.triggerTextStyle.
- Added per-tooltip
-
2.1.218 Mar 2026Release notes
Open source →- Fixed
onTapMappingparsing for symbols that contain regex-special characters. - Fixed combined
styleMappingandonTapMappingusage when both share the same marker. - Added interaction tests covering complex rich-text tap scenarios for
BabelTextandBabelSelectableText.
- Fixed
-
2.1.115 Mar 2026 -
2.1.029 Sep 2025Release notes
Open source →- NEW: Added
BabelSelectableTextwidget - a selectable text equivalent ofBabelTextwith all the same customization features - NEW: Added
BabelSelectableInlinewidget - 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)
- NEW: Added
-
2.0.206 Jun 2025 -
2.0.106 Jun 2025 -
2.0.006 Jun 2025Release notes
Open source →- BREAKING CHANGE: Changed
innerWidgetMappinganddefaultWidgetMappingto useBabelWidget Function(BuildContext context, TextStyle currentStyle)instead ofWidget Function(BuildContext context, TextStyle currentStyle). This allows for more control over widget alignment and baseline through theBabelWidgetclass.
- BREAKING CHANGE: Changed
-
1.0.023 Apr 2025