am_searchable_dropdown 1.0.3
am_searchable_dropdown: ^1.0.3 copied to clipboard
A highly customizable searchable dropdown for Flutter, supporting single-select, multi-select with checkboxes, and radio-select. Supports local and server-side filtering.
1.0.3 #
- Enabled / Disabled State: Added
isEnabledproperty to toggle user interaction with the dropdown. - Disabled UI Customization: Introduced
disabledHeaderDecorationto style the dropdown when it's deactivated. - Default Disabled Style: Added a sensible default light grey background for the disabled state.
- Visual Enhancements: Opacity for suffix icon automatically adjusts when dropdown is disabled.
1.0.2 #
- Form Validation Support: Wrapped dropdown headers in
FormFieldto supportvalidatorandautovalidateMode. - New Styling Properties: Added
headerDecoration,headerPadding,suffixIcon,errorTextStyle, anderrorBorder. - State Synchronization: Implemented post-frame callback to keep
FormFieldvalue in sync with selected items. - Visual Feedback: Added support for showing validation error text and applying error borders when validation fails.
- Documentation Upgrade: Comprehensive
README.mdupdate with advanced usage examples and feature breakdown.
1.0.1 #
- Improved pub.dev score by adding comprehensive API documentation (dartdoc comments).
- Updated repository URLs to match the package name for better pub.dev verification.
1.0.0 #
- Initial release.
- Project Rename: Fixed misspelling from
searable_dropdowntosearchable_dropdown. - Added
CustomSearchDropdownWidgetfor single selection. - Added
CustomMultiSearchDropdownWidgetfor multiple selection with checkboxes. - Added
CustomRadioSearchDropdownWidgetfor single selection with radio buttons (deprecated/removed in latest but noted in history). - Refactor & Safety:
- Removed
topContextparameter requirement. - Added
itemToStringparameter for custom search filtering. - Implemented safe internal
itemsListcopying. - Added
overlay.mountedchecks for safe disposal.
- Removed
- Implemented conditional local search (if
onSearchis null). - Generic Type Support
<T>for all widgets. - Added debounced search input (500ms).
- Repository:
https://github.com/Abdul520Mannan/searchable_dropdown.