Overview
A Flutter package that enhances text input with social media-style features, including automatic detection and styling of hashtags, URLs, and mentions using regular expressions. It integrates with TextEditingController and supports tap interactions for these elements via RichText and TextSpan. Ideal for chat apps, social platforms, or any app requiring rich text editing with interactive content. Works across all major platforms: Android, iOS, Web, macOS, Windows, and Linux.
Use cases
- Social media app comments
- Chat applications with clickable links
- User tagging in messages
- Rich text input with dynamic styling
- Content creation tools with metadata highlighting
Key features
- Hashtag detection and styling
- URL and mention auto-linking
- Tapable text spans
- RichText integration
- Regex-based parsing
- Cross-platform compatibility
Suitable for
- Developers building social apps
- Teams needing rich text input
- Apps with user-generated content
- Interactive messaging interfaces
- Customizable text editors
Considerations
- Requires careful regex tuning for edge cases
- May need performance optimization for long texts
- Limited to basic formatting without advanced styling
- No built-in emoji picker
- Depends on external regex logic for accuracy
