Overview
A Flutter package that enables character-level text highlighting, ideal for visually emphasizing search terms within text. It provides simple integration and customizable styling options for matched substrings, making it suitable for search interfaces. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring consistent behavior across devices. With minimal setup via the pub command, developers can enhance user experience by clearly marking relevant text segments during searches.
Use cases
- Search result previews
- Text filtering with visual cues
- Custom search UI components
- Real-time keyword highlighting
- User input feedback in forms
- Document or content scanning
Key features
- Character-level substring matching
- Customizable highlight colors and styles
- Simple API for integration
- Cross-platform compatibility
- Supports multiple text widgets
- Configurable match sensitivity
Suitable for
- Developers building search-heavy apps
- UI designers needing visual feedback
- Apps requiring real-time text highlighting
- Educational or document review tools
- Content discovery interfaces
Considerations
- May impact performance with very long texts
- Requires manual handling of text updates
- Limited to substring matching (no regex)
- Styling may need platform-specific adjustments
- Does not support nested text spans inherently