Overview
The selectable package is a Flutter widget that enhances text selection across all contained text widgets. It wraps text elements to enable seamless, consistent text selection behavior, ideal for apps requiring interactive text content like documents, notes, or reading interfaces. The package works across all major platforms—Android, iOS, Web, macOS, Windows, and Linux—ensuring uniform functionality. It simplifies the implementation of selectable text without requiring complex custom logic. Designed for developers seeking an easy way to add selection capabilities to multiple text components in a single, reusable wrapper.
Use cases
- Reading apps
- Document editors
- Note-taking tools
- Interactive tutorials
- Text sharing features
Key features
- Universal text selection
- Cross-platform support
- Single wrapper for multiple texts
- Simple integration
- Consistent selection behavior
Suitable for
- Developers building text-heavy apps
- Apps needing multi-text selection
- Projects with cross-platform requirements
- UIs focused on readability
- Educational or content-rich applications
Considerations
- May require additional styling for custom selection handles
- Limited to text selection only
- Not suitable for non-text widgets
- Performance impact with large text blocks
- Depends on underlying platform text rendering