Overview
Choice is a modern Flutter package designed for building flexible, composable choice widgets with support for both single and multiple selections. It replaces older packages like smart_select and chips_choice, offering a cleaner API for inline or prompted selection interfaces. Ideal for forms, filters, and tag-based inputs, it provides a consistent and customizable experience across platforms. The package emphasizes developer ergonomics and UI flexibility, making it easy to integrate into diverse app designs.
Use cases
- Form inputs with selectable options
- Filtering interfaces
- Tag-based data entry
- Dynamic choice lists
- User preference selection
- Multi-select dropdowns
Key features
- Clean and intuitive API
- Support for single and multiple selection
- Flexible inline or prompted layouts
- Highly customizable appearance
- Cross-platform compatibility
- Composable widget design
Suitable for
- Developers seeking modern alternatives to legacy choice packages
- Apps requiring dynamic, reusable selection components
- Projects emphasizing UI consistency and maintainability
- Teams prioritizing developer experience and code clarity
- Applications with complex filtering or tagging needs
Considerations
- Requires understanding of Flutter's widget composition
- May need additional styling for complex themes
- Limited documentation compared to mature packages
- Best suited for apps with frequent user selections
- Not ideal for simple static choices without interactivity
