LinkifyText is a Flutter widget that automatically detects and highlights URLs within plain text, turning them into clickable links. When tapped, it opens the link in the default browser on supported platforms. Designed for rich text display, it enhances user experience by enabling seamless navigation from text content. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it versatile for cross-platform applications. It integrates easily with existing text rendering workflows.
Use cases
- Displaying user-generated content with clickable links
- Creating rich text descriptions with auto-linked URLs
- Enhancing chat or comment sections with interactive links
- Building documentation or help screens with navigable references
- Integrating external resources directly from text
Key features
- Automatic URL detection and highlighting
- Tap-to-open links in default browser
- Cross-platform compatibility
- Simple integration with existing Text widgets
- Supports all major desktop and mobile platforms
Suitable for
- Apps needing rich text with clickable links
- Social media or messaging interfaces
- Documentation or knowledge base apps
- Content-heavy applications with user input
- Developers seeking minimal setup for link handling
Considerations
- Does not support custom link styling beyond basic highlighting
- Limited to HTTP/HTTPS URL detection
- No built-in support for email or phone number linking
- Relies on platform's default browser for navigation
- May require additional configuration for non-HTTP protocols

