searchable_dropdown library
A searchable, customizable Flutter dropdown package that supports bottom sheet, dialog, and overlay modes.
Classes
- DropdownBehavior
- Configures interactive behavior for the dropdown experience.
- DropdownStyle
- Visual styling for the field, search input, and dropdown content.
-
SearchableDropdownController<
T> - Controls a SearchableDropdownField programmatically.
-
SearchableDropdownField<
T> - A read-only form field that opens a searchable dropdown selector.
Enums
- DropdownMode
- Controls how the dropdown options are presented to the user.
Typedefs
-
CompareFn<
T> = bool Function(T a, T b) - Compares two items for equality when a custom model type is used.
-
ItemBuilder<
T> = Widget Function(BuildContext context, T item, bool isSelected) - Builds a custom dropdown row for an item.
-
ItemLabel<
T> = String Function(T item) - Converts an item into the display label shown in the field and list.