PackageTrack
Sign in Get early access

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 2026
2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 19
  1. 0.4.7 08 May 2026
    Release notes
    • [FIX] - Fixed regression in previous release.
    Open source →
  2. 0.4.6 07 May 2026
    Release notes
    • [ADJUSTMENT] - AttributedText improved efficiency when finding attribution spans.
    Open source →
  3. 0.4.5 27 Aug 2025
    Release notes
    • [FIX] - AttributedText constructor and some operations break if placeholder map is not in content order.
    Open source →
  4. 0.4.4 12 Feb 2025
    Release notes
    • [FIX] - toggleAttribution() error with inline placeholders.
    Open source →
  5. 0.4.3 31 Jan 2025
    Release notes
    • [FIX] - Accessing individual characters in AttributedText no longer tries to access indices out of bounds.
    Open source →
  6. 0.4.2 18 Jan 2025
    Release notes
    • [FIX] - A few AttributedText methods weren't updated to account for full length with placeholders.
    Open source →
  7. 0.4.1 11 Jan 2025
    Release notes
    • [ADJUSTMENT] - Added a few queries for the character or the placeholder at a given text offset.
    Open source →
  8. 0.4.0 10 Dec 2024
    Release notes
    • [FEATURE] - Added support for placeholders in text, e.g., to render inline widgets.
    • [ADJUSTMENT] - Upgrade logging to v1.3.0.
    Open source →
  9. 0.3.3 17 Aug 2024
    Release notes
    • Package metadata update - no functional changes.
    Open source →
  10. 0.3.2 22 Jun 2024
    Release notes
    • [FIX] - Crash when adding attributions that overlap others - you can now control whether a new attribution overwrites conflicting spans when you add it.
    Open source →
  11. 0.3.1 11 Jun 2024
    Release notes
    • [FEATURE] - Added query getAllAttributionsThroughout() to AttributedText.
    • [FEATURE] - Added copy() to AttributedText().
    • [ADJUSTMENT] - Added ability to insert an attribution that splits an existing attribution.
    Open source →
  12. 0.3.0 16 Feb 2024
    Release notes
    • [BREAKING] - AttributedText and SpanRange constructors now use positional parameters istead of named parameters.
    • [FIX] - AttributedText now supports differents links for different URLs in the same text blob - previously all links were sent to the same URL withing a single AttributedText.
    • [FIX] - collapseSpans now reports the correct ending index, which was previously off by one.
    • AttributedText now has a substring method and length property to avoid needing to access the inner text string.
    • AttributionSpan now has a range property to get a non-directional span of text.
    • AttributedText can visit and report attribution spans instead of just visiting individual attribution markers.
    • Added query methods:
      • getAttributionSpans()
      • getAttributionSpansByFilter()
    • AttributedText now allows you to addAttribution() without auto-merging with preceding and following attributions (#1198)
    Open source →
  13. 0.2.2 13 May 2023
    Release notes

    Upgrade Dart constraints to explicitly include Dart 3. Make markers public on AttributedSpans.

    Open source →
  14. 0.2.1 01 Feb 2023
    Release notes

    Add getAttributedRange(), which returns a range that includes a given set of attributions.

    Open source →
  15. 0.2.0 22 Jul 2022
    Release notes

    BREAKING - Attributions in an AttributedText are now visited by a AttributionVisitor instead of a callback, and the visitor receives span markers in a more useful way.

    Open source →
  16. 0.1.3 03 Jun 2022
    Release notes

    Changed the meta dependency to a version that's compatible with Flutter.

    Open source →
  17. 0.1.2 02 Jun 2022 withdrawn
    Release notes

    Fixed a couple bugs related to merging attribution spans when adding new spans.

    Open source →
  18. 0.1.1 05 Apr 2022
    Release notes

    Downgraded collection from 1.16.0 to 1.15.0 because flutter_test is pinned to 1.15.0.

    Open source →
  19. 0.1.0 02 Apr 2022
    Release notes

    The first release of attributed_text, which was extracted from super_editor.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive