flutter_interactive_text 0.2.3
flutter_interactive_text: ^0.2.3 copied to clipboard
A performant Flutter widget for detecting, styling, interacting with, and optionally expanding rich text patterns.
0.2.3 #
- Use one theme-aware action palette:
#4150F7in light mode and#708DFFin dark mode, with neutral informational text and configurable action colors. - Default emoji line height to
0.6, preserving explicit style overrides.
0.2.2 #
- Add optional per-type value allowlists so only known mentions, commands, or custom values are detected, styled, and made interactive.
- Keep null, missing, and empty allowlists unrestricted, with prefix-optional, case-insensitive matching for built-in trigger types.
- Add explicit restricted types so an empty allowlist can intentionally reject every value while asynchronous results are loading.
- Add an observable allowlist controller and listenable widget support for updating styles, recognizers, and callbacks without recreating the widget.
0.2.1 #
- Refine package documentation for callbacks, styling, custom detection, and domain filtering.
0.2.0 #
- Hide recognized Markdown delimiters by default, including bold, italic, strikethrough, spoilers, inline code, and link syntax.
- Keep original source matches for callbacks; expose
displayTextandcontentRange, and addshowMarkdownSyntaxfor source-style rendering. - Measure and truncate visible spans during expansion without losing styles, leaking partial delimiters, or counting hidden link destinations.
- Support alternate bold/italic delimiters, reject escaped or unfinished formatting, and keep inline code literal even when it contains links.
- Preserve formatting-like characters inside detected URLs, email addresses, handles, hashtags, and template variables.
- Reduce the default emoji size from
22to20in mixed and emoji-only text. - Use a stable semantic light/dark palette rather than brand colors, with blue links/contact/social tokens and fully configurable style overrides.
- Update examples and cover formatting, selection, expansion, and contrast.
0.1.1 #
- Refine public package metadata and installation documentation for pub.dev.
0.1.0 #
- Add the unified
InteractiveTextwidget. - Add optional grapheme-safe expand and collapse behavior.
- Add common, social, chat, commerce, temporal, identifier, assistant, and Markdown detector groups.
- Add automatic URL, deep-link, email, and phone actions.
- Add typed tap callbacks, custom detectors, domain filtering, and selectable rendering.
- Make domain filtering configurable with no built-in allowlist.
- Add theme-aware styles for every built-in type.
- Keep emoji at a stable default font size of
22in mixed and emoji-only text. - Cache parsing, spans, recognizers, and text measurements for scrolling lists.