CustomDropdownMultiSelect constructor
const
CustomDropdownMultiSelect({
- Key? key,
- required List<
DropDownDataModel> items, - required List<
DropDownDataModel> selectedItems, - required ValueChanged<
List< onChanged,DropDownDataModel> > - String hintText = "Select options",
- bool isSearch = false,
- Color? borderColor,
- double? textSize,
- Color? dropdownIconColor,
- Color? textColor,
- Color? hintTextColor,
- Color? buttonBackgroundColor,
- Color? dropdownTextColor,
- Color? dropdownBackgroundColor,
- Color? selectedDataColor,
- Color? selectedDataBgColor,
- double? radius,
- EdgeInsetsGeometry? buttonPadding,
- Widget separatorBuilder()?,
- Color? searchTextColor,
- Color? searchBackgroundColor,
- Color? searchIconColor,
- EdgeInsetsGeometry? searchTextFieldPadding,
- double? searchTextFieldRadius,
- double? selectedFontSize,
- Color? checkBoxColor,
- Color? checkColor,
- double? dropdownIconSize,
- double? chipCancelIconSize,
- double? scale,
Creates a CustomDropdownMultiSelect widget.
Implementation
const CustomDropdownMultiSelect({
super.key,
required this.items,
required this.selectedItems,
required this.onChanged,
this.hintText = "Select options",
this.isSearch = false,
this.borderColor,
this.textSize,
this.dropdownIconColor,
this.textColor,
this.hintTextColor,
this.buttonBackgroundColor,
this.dropdownTextColor,
this.dropdownBackgroundColor,
this.selectedDataColor,
this.selectedDataBgColor,
this.radius,
this.menuRadius,
this.buttonPadding,
this.menuPadding,
this.separatorBuilder,
this.searchTextColor,
this.searchBackgroundColor,
this.searchIconColor,
this.searchTextFieldPadding,
this.searchTextFieldRadius,
this.selectedFontSize,
this.checkBoxColor,
this.checkColor,
this.dropdownIconSize,
this.chipCancelIconSize,
this.scale,
});