CustomDropdownMulti constructor
CustomDropdownMulti({
- Key? key,
- double? width,
- bool isEnabled = true,
- bool isAddNewButton = false,
- void onAddNewPressed()?,
- List<
DropDownResponse> ? items, - Future<
List< fetchData(DropDownResponse> >- String filter
- required void onChanged(
- List<
DropDownResponse> selectedItem
- List<
- List<
DropDownResponse> ? selectedItem, - String hintText = 'Select Items',
- bool isValidator = false,
- String? validationMessage,
- required GlobalKey<
DropdownSearchState< dropDownKey,DropDownResponse> >
Implementation
CustomDropdownMulti(
{super.key,
this.width,
this.isEnabled = true,
this.isAddNewButton = false,
this.onAddNewPressed,
this.items,
this.fetchData,
required this.onChanged,
this.selectedItem,
this.hintText = 'Select Items',
this.isValidator = false,
this.validationMessage,
required this.dropDownKey}) : dropdownIndex = _register(dropDownKey);