MultiSelectDropdown<T> constructor
const
MultiSelectDropdown<T> ({
- Key? key,
- required List<
DropdownOption< options,T> > - required List<
DropdownOption< initialValues,T> > - required void onChanged(
- List<
DropdownOption> selectedOption
- List<
- bool searchFunction(
- DropdownOption<
T> option, - String searhString
- DropdownOption<
- double? popupHeight,
- HeaderItemBuilder<
T> ? headerItemBuilder, - Widget? endAdornment,
- bool dismissOnAdd = false,
- double itemExtent = defaultItemExtent,
- DropdownHeaderOptions drodownHeaderOptions = defaultHeaderOptions,
- int? maxItemsBeforeScroll = defaultMaxItemsBeforeScroll,
- Duration debounceDuration = defaultDebounceDuration,
Implementation
const MultiSelectDropdown({
super.key,
required this.options,
required this.initialValues,
required this.onChanged,
this.searchFunction,
this.popupHeight,
this.headerItemBuilder,
this.endAdornment,
this.dismissOnAdd = false,
this.itemExtent = defaultItemExtent,
this.drodownHeaderOptions = defaultHeaderOptions,
this.menuContainerBuilder,
this.maxItemsBeforeScroll = defaultMaxItemsBeforeScroll,
this.debounceDuration = defaultDebounceDuration,
});