multi_dropdown library
Classes
- ChipDecoration
- Configuration class for customizing the appearance of chips in the multi-select dropdown.
- DropdownDecoration
- Represents the decoration for the dropdown.
-
DropdownItem<
T> - Represents an item in a dropdown menu.
- DropdownItemDecoration
- Represents the decoration for the dropdown items.
- FieldDecoration
- Represents the decoration for the dropdown field.
-
MultiDropdown<
T extends Object> - A multiselect dropdown widget.
-
MultiSelectController<
T> - Controller for the multiselect dropdown.
- SearchFieldDecoration
- Represents the decoration for the search field in the dropdown.
Enums
- RequestMethod
- RequestMethod RequestMethod enum for the request method of the dropdown items.
Typedefs
-
DropdownItemBuilder<
T> = Widget Function(DropdownItem< T> item, int index, VoidCallback onTap) - typedef for the dropdown item builder.
-
FutureRequest<
T> = Future< List< Function()DropdownItem< >T> > - typedef for the future request.
-
OnSearchChanged
= ValueChanged<
String> - typedef for the callback when the search field value changes.
-
OnSelectionChanged<
T> = void Function(List< T> selectedItems) - typedef for the callback when the item is selected/de-selected/disabled.
-
SelectedItemBuilder<
T> = Widget Function(DropdownItem< T> item) - typedef for the selected item builder.