flutter_interactive_text 0.2.1
flutter_interactive_text: ^0.2.1 copied to clipboard
A performant Flutter widget for detecting, styling, interacting with, and optionally expanding rich text patterns.
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.flutter-io.cn.
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.