FLUTTER ECOSYSTEM

flutter_social_textfield

TextEditingController and RichText / TextSpan builder with hashtag, url and mention detection with Regular Expressions. Also with tap support.

flutter_social_textfield cover
Latest version
0.1.2
30-day downloads
1.8K
Likes
97
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

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
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add flutter_social_textfield

Categories

Source repository

Related projects

No data available yet.