see_more
2.2.0, released 5 months ago by igloodev.in
Expandable text widget with trim, linkify, annotations, fade, and programmatic control
What it does
It displays a block of text that can be collapsed or expanded with smooth animations. It supports character, line, or word trimming, rich text, auto‑linkify, hashtags/mentions, fade effects, and a controller for programmatic state changes.
AI-written summary of version 2.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a read‑more widget that trims text by characters, lines, or words
- You want to preserve rich text formatting and tappable spans when truncating
- You need auto‑linkify URLs or custom annotations like hashtags and mentions
- You want a selectable text area or custom expand/collapse buttons
Skip it when
- You require a highly custom animation that cannot be achieved with the built‑in curve and duration
- You are building a very large text block that might need more efficient rendering than a single widget
Strengths
- Smooth animations and configurable duration
- Rich text support with recognizers and WidgetSpan preservation
- Auto‑linkify and custom annotation support
- Programmatic control via SeeMoreController
Weaknesses
- No documented support for extremely large text blocks
- Limited to Flutter; no native platform integration beyond Flutter
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
SeeMoreWidget(
"Lorem ipsum dolor sit amet, consectetur adipiscing elit...",
maxCharacters: 100,
linkify: true,
annotations: [
SeeMoreAnnotation.hashtag(onTap: (tag) => print(tag)),
SeeMoreAnnotation.mention(onTap: (user) => print(user)),
],
controller: _ctrl,
)Alternatives
Packages that do the same job and could replace see_more.
- text_scroll
A Flutter widget that auto‑scrolls overflowing text like a marquee.
89Compare - rich_text_view
RichTextView renders text with mentions, hashtags, emails, URLs and view‑more support.
50Compare - re_editor
A lightweight text and code editor widget for Flutter with syntax highlighting and folding.
80Compare - fleather
A clean, minimalistic and collaboration-ready rich text editor for Flutter.
80Compare