DropdownController<T>.multi constructor
DropdownController<T>.multi ({
- bool? unselectable,
- List<
DropdownItem< ? items,T> >
A multiple selection dropdown controller.
unselectable
indicates whether the selected item can be unselected,
if true, tapping the same selected item will unselect it;
otherwise, it will be ignored.
Implementation
factory DropdownController.multi({
// Default is false.
bool? unselectable,
/// The initial items that will be shown in the dropdown menu,
/// you can set multiple of them as selected.
List<DropdownItem<T>>? items,
}) = MultiSelectionDropdownController;