multiselect_dropdown library
Classes
- ChipConfig
- Configuration for the chip. backgroundColor is the background color of the chip. Defaults to Colors.white. padding is the padding of the chip. radius is the radius of the chip. Defaults to BorderRadius.circular(18).
-
MultiSelectController<
T> - implementation of the MultiSelectController class.
-
MultiSelectDropDown<
T> - NetworkConfig
- Configuration for the network.
-
ValueItem<
T> - label is the item that is displayed in the list. value is the value that is returned when the item is selected. If the value is not provided, the label is used as the value. An example of a ValueItem is:
Enums
- RequestMethod
- RequestMethod RequestMethod enum for the request method of the dropdown items.
- SelectionType
- SelectionType SelectionType enum for the selection type of the dropdown items.
- WrapType
- WrapType WrapType enum for the wrap type of the selected items.
Typedefs
-
OnOptionSelected<
T> = void Function(List< ValueItem< selectedOptions)T> >