flutter_multi_selector 1.0.4
flutter_multi_selector: ^1.0.4 copied to clipboard
A customizable Flutter multi-selection dialog with search, chips/checkboxes, and Select All. Perfect for filters, settings, and forms. Supports theming and accessibility.
1.0.4 - 2025-01-24 #
Fixes #
- AutovalidateMode behavior: Fixed
AutovalidateMode.onUserInteractionto properly respect user interaction state- Error borders now only appear after user has interacted with the field, not immediately on app startup
- Follows Flutter's standard FormField validation behavior
- Resolves issue where validation errors were shown prematurely
- User interaction tracking: Implemented proper interaction state management for validation timing
Technical Details #
- Added
_hasInteractedboolean to track user interaction state - Updated error display logic to consider both validation state and interaction history
- Modified border colors, text colors, and icon colors to respect interaction-based validation
- Enhanced validation trigger logic for better user experience
1.0.2 2025-08-1 #
Fixes #
- Fixed dialog constraints: Resolved BoxConstraints normalization error by ensuring minWidth ≤ maxWidth
- Dialog dimensions: Corrected dialogHeight and dialogWidth parameter handling
- Padding: Fixed dialogPadding not being properly applied to dialog content
- Elevation: Ensured dialogElevation is correctly passed to the Dialog widget
- State management: Improved handling of initialValue updates
1.0.1 - 2025-06-19 #
Fixed #
- Duplicate values in MultiSelect: Resolved an issue where selected items appeared multiple times
- Spacing issue: Fixed unwanted additional spacing below the MultiSelect widget
- State initialization: Improved handling of
initialValueandstate.valueto prevent conflicts
Changed #
- Optimized internal item selection logic to prevent duplicates
- Adjusted widget padding and layout constraints
Notes #
- Backward compatible with v1.0.0
- No migration steps required
1.0.0 - 2025-06-18 #
⚠️ Breaking Changes #
- ⬆️ Flutter SDK requirement updated to
>=3.27.0(requires Dart^3.7.0). - ✨
InputDecorationsupport added — existing implementations may need to update. - ✨ "Deselect All" text customization introduced — may require updates in existing usage.
🛠️ Fixes & Improvements #
- ✅ Select All / Deselect All text now accepts only
Stringfor better consistency. - 🧹 Codebase optimized with minor refinements and cleanup.