attributed_text
Text with metadata spans for easy text editing and styling.
0.4.7
58K downloads/mo
#1394 most downloaded on pub.dev
superlistapp/super_editor
What this package is like to depend on
Last release 3 months ago
08 May 2026
Release timing varies
gaps range from 2 weeks to 9 months
Nearly every release is documented
notes for 18 of 18 stable releases
1 version withdrawn
withdrawn after publishing
4 years old
19 releases · first in 2022
2 releases in the last 12 months
see the full history below
Release timeline
19 releases · Apr 2022 to May 2026Releases
latest 19-
0.4.708 May 2026 -
0.4.607 May 2026Release notes
Open source →- [ADJUSTMENT] -
AttributedTextimproved efficiency when finding attribution spans.
- [ADJUSTMENT] -
-
0.4.527 Aug 2025Release notes
Open source →- [FIX] -
AttributedTextconstructor and some operations break if placeholder map is not in content order.
- [FIX] -
-
0.4.412 Feb 2025 -
0.4.331 Jan 2025Release notes
Open source →- [FIX] - Accessing individual characters in
AttributedTextno longer tries to access indices out of bounds.
- [FIX] - Accessing individual characters in
-
0.4.218 Jan 2025Release notes
Open source →- [FIX] - A few
AttributedTextmethods weren't updated to account for full length with placeholders.
- [FIX] - A few
-
0.4.111 Jan 2025Release notes
Open source →- [ADJUSTMENT] - Added a few queries for the character or the placeholder at a given text offset.
-
0.4.010 Dec 2024Release notes
Open source →- [FEATURE] - Added support for placeholders in text, e.g., to render inline widgets.
- [ADJUSTMENT] - Upgrade
loggingtov1.3.0.
-
0.3.317 Aug 2024 -
0.3.222 Jun 2024Release notes
Open source →- [FIX] - Crash when adding attributions that overlap others - you can now control whether a new attribution overwrites conflicting spans when you add it.
-
0.3.111 Jun 2024Release notes
Open source →- [FEATURE] - Added query
getAllAttributionsThroughout()toAttributedText. - [FEATURE] - Added
copy()toAttributedText(). - [ADJUSTMENT] - Added ability to insert an attribution that splits an existing attribution.
- [FEATURE] - Added query
-
0.3.016 Feb 2024Release notes
Open source →- [BREAKING] -
AttributedTextandSpanRangeconstructors now use positional parameters istead of named parameters. - [FIX] -
AttributedTextnow supports differents links for different URLs in the same text blob - previously all links were sent to the same URL withing a singleAttributedText. - [FIX] -
collapseSpansnow reports the correct ending index, which was previously off by one. AttributedTextnow has a substring method and length property to avoid needing to access the innertextstring.AttributionSpannow has arangeproperty to get a non-directional span of text.AttributedTextcan visit and report attribution spans instead of just visiting individual attribution markers.- Added query methods:
getAttributionSpans()getAttributionSpansByFilter()
AttributedTextnow allows you toaddAttribution()without auto-merging with preceding and following attributions (#1198)
- [BREAKING] -
-
0.2.213 May 2023Release notes
Open source →Upgrade Dart constraints to explicitly include Dart 3. Make
markerspublic onAttributedSpans. -
0.2.101 Feb 2023Release notes
Open source →Add
getAttributedRange(), which returns a range that includes a given set of attributions. -
0.2.022 Jul 2022Release notes
Open source →BREAKING - Attributions in an
AttributedTextare now visited by aAttributionVisitorinstead of a callback, and the visitor receives span markers in a more useful way. -
0.1.303 Jun 2022Release notes
Open source →Changed the
metadependency to a version that's compatible with Flutter. -
0.1.202 Jun 2022 withdrawnRelease notes
Open source →Fixed a couple bugs related to merging attribution spans when adding new spans.
-
0.1.105 Apr 2022Release notes
Open source →Downgraded
collectionfrom1.16.0to1.15.0becauseflutter_testis pinned to1.15.0. -
0.1.002 Apr 2022Release notes
Open source →The first release of attributed_text, which was extracted from super_editor.