flek_select 0.0.2
flek_select: ^0.0.2 copied to clipboard
A customizable Flutter select widget library with Select dropdown and ToggleButtonGroup components. Features flexible overlay options and tree-shakable exports.
📋 Changelog #
0.0.2 - 2025-11-10 #
✨ Added #
- 🎛️ ToggleButtonGroup Widget: New row-based toggle button component for inline selection
- Displays options as horizontal row of tappable buttons
- Supports multiline wrapping with customizable spacing
- Custom
buttonBuilderfor full design control - Rounded edges by default for beautiful appearance
- Uses same
SelectOptionmodel as Select widget - Scrollable mode: New
scrollableparameter enables horizontal scrolling for buttons - Scroll controller support: Optional
scrollControllerparameter for programmatic scrolling - Advanced scroll customization:
scrollPaddingfor horizontal padding in scrollable modescrollPhysicsfor custom scroll behavior (bouncing, clamping, etc.)clipBehaviorfor controlling how content is clipped in scroll view
- Dual alignment system:
wrapAlignmentandwrapCrossAlignmentfor Wrap mode (non-scrollable)scrollAlignmentandscrollCrossAlignmentfor scrollable mode
- 📚 Enhanced documentation with emojis and better organization
- 🌳 Tree-shakable export for ToggleButtonGroup widget
- 📖 Comprehensive usage examples for ToggleButtonGroup including scrollable mode with custom physics
🔄 Changed #
- Updated README.md with fancy emojis throughout
- Improved API reference documentation structure
- Breaking: Renamed
alignmentparameter towrapAlignmentin ToggleButtonGroup for clarity between wrap and scroll modes - Breaking: Renamed
crossAxisAlignmentparameter towrapCrossAlignmentin ToggleButtonGroup for consistency and clarity
0.0.1 - 2025-11-10 #
Added #
- Initial release of FlekSelect package
Selectwidget with flexible overlay systemSelectOptionmodel for defining select options- Support for custom overlay via
showOverlaycallback - Tree-shakable exports for widgets and models
- Integration with Tappable package for responsive touch feedback
- Comprehensive customization options:
- Labels, hints, and error messages
- Disabled state support
- Custom builders for options and values
- "Not selected" option support
- Custom styling via inputDecoration and backgroundColor
Features #
- Default overlay using Flutter's
showDialog - Custom overlay integration support for third-party packages
- Responsive touch feedback from Tappable package
- Full feature parity with dredge_ui Select widget