apex_dropdown 1.0.6
apex_dropdown: ^1.0.6 copied to clipboard
Apex-quality dropdown widgets for Flutter - controllerless, crash-proof, and memory-safe. Single, multi, and async search support with full model object handling.
1.0.6 - 2026-04-27 #
- Feature: Implement
ApexAsyncDropdown<T>(real async overlay with debounce, last-query-wins, caching, and loading/error/empty states). - Feature: Add
ApexAsyncMultiDropdown<T>+ApexAsyncMultiDropdownFormField<T>. - UI: Multi-select count mode now shows
"N selected"even when the field has a fixed height. - Example: Add async single + multi dropdown demos to the example app.
1.0.5 - 2026-04-22 #
- UI: Reduce the default closed-field height from 48 → 46 (applies to dropdown widgets and their
FormFieldvariants). - API: Make
itemLabeloptional across dropdowns and form fields; defaults totoString()for model types (and safely renders''for null items). - Docs: Improve public API documentation coverage (adds missing DartDoc for
apex_dropdownexports andApexAsyncDropdownmembers).
1.0.0 #
Initial release of apex_dropdown.
- ApexDropdown: controllerless dropdown with a route-safe overlay.
- Model support:
itemLabel(required) +compareFnfor identity matching (e.g. compare by ID). - Crash-proof mismatches: never throws if
valueis not present initems; showshintTextinstead and logs debug warnings (optionally callsonInvalidValuein debug). - Local search:
searchEnabledwith default case-insensitive contains, plussearchMatcherfor custom filtering. - Lifecycle safety: overlay is removed on
dispose()and dismissed on route pop (prevents setState-after-dispose / orphaned overlays).
Notes:
ApexAsyncDropdown<T>is exported for API stability but currently renders placeholder UI while the full async implementation is in progress.