Overview
A Flutter package that enables the creation of selectable and tappable inline links within text. It automatically detects URLs, emails, and phone numbers in a string and renders them as interactive elements while preserving text selection capabilities. Ideal for rich text displays where users need to interact with embedded links without losing the ability to copy or highlight text. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux.
Use cases
- Displaying rich text with clickable links
- Enabling text selection in linked content
- Creating interactive chat or message interfaces
- Embedding contact details in app text
- Supporting user-generated content with auto-links
Key features
- Auto-detects URLs, emails, and phone numbers
- Preserves text selection and copying
- Customizable link styling
- Cross-platform compatibility
- Simple integration with Text widgets
- Supports tap gestures on links
Suitable for
- Chat applications
- Social media feeds
- Documentation viewers
- User profile descriptions
- Content-rich UIs with dynamic text
Considerations
- May require additional styling for consistent appearance
- Performance impact with large text blocks
- Limited customization for non-standard link patterns
- Requires careful handling of accessibility labels
- Not suitable for complex rich text formatting beyond links
