FindDropdownChip<T>.multiSelect constructor

const FindDropdownChip<T>.multiSelect({
  1. Key? key,
  2. required FindDropdownMultipleItemsChangedType<T> onChanged,
  3. String? label,
  4. TextStyle? labelStyle,
  5. List<T>? items,
  6. List<T>? selectedItems,
  7. FindDropdownFindType<T>? onFind,
  8. FindDropdownItemBuilderType<T>? dropdownItemBuilder,
  9. bool showSearchBox = true,
  10. bool showClearButton = false,
  11. FindDropdownValidationType<List<T>>? validate,
  12. InputDecoration? searchBoxDecoration,
  13. Color? backgroundColor,
  14. TextStyle? titleStyle,
  15. WidgetBuilder? emptyBuilder,
  16. WidgetBuilder? loadingBuilder,
  17. ErrorBuilderType? errorBuilder,
  18. BoxConstraints? constraints,
  19. bool? autofocus,
  20. int? searchBoxMaxLines,
  21. int? searchBoxMinLines,
  22. ButtonBuilderType? okButtonBuilder,
  23. bool labelVisible = true,
  24. FindDropdownThemeData? theme,
  25. FindDropdownChipBuilderType<T>? chipBuilder,
})

Implementation

const FindDropdownChip.multiSelect({
  super.key,
  required FindDropdownMultipleItemsChangedType<T> onChanged,
  this.label,
  this.labelStyle,
  this.items,
  List<T>? selectedItems,
  this.onFind,
  this.dropdownItemBuilder,
  this.showSearchBox = true,
  this.showClearButton = false,
  FindDropdownValidationType<List<T>>? validate,
  this.searchBoxDecoration,
  this.backgroundColor,
  this.titleStyle,
  this.emptyBuilder,
  this.loadingBuilder,
  this.errorBuilder,
  this.constraints,
  this.autofocus,
  this.searchBoxMaxLines,
  this.searchBoxMinLines,
  this.okButtonBuilder,
  this.labelVisible = true,
  this.theme,
  this.chipBuilder,
})  : onChanged = null,
      validateMultipleItems = validate,
      multipleSelectedItems = selectedItems,
      onMultipleItemsChanged = onChanged,
      selectedItem = null,
      validate = null;