FindDropdown<T>.multiSelect constructor

const FindDropdown<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. FindDropdownMultipleItemsBuilderType<T>? dropdownBuilder,
  9. FindDropdownItemBuilderType<T>? dropdownItemBuilder,
  10. bool showSearchBox = true,
  11. bool showClearButton = false,
  12. FindDropdownValidationType<List<T>>? validate,
  13. InputDecoration? searchBoxDecoration,
  14. Color? backgroundColor,
  15. TextStyle? titleStyle,
  16. WidgetBuilder? emptyBuilder,
  17. WidgetBuilder? loadingBuilder,
  18. ErrorBuilderType? errorBuilder,
  19. BoxConstraints? constraints,
  20. bool? autofocus,
  21. int? searchBoxMaxLines,
  22. int? searchBoxMinLines,
  23. ButtonBuilderType? okButtonBuilder,
  24. bool labelVisible = true,
  25. @Deprecated("Use 'hintText' property from searchBoxDecoration") String? searchHint,
})

Implementation

const FindDropdown.multiSelect({
  Key? key,
  required FindDropdownMultipleItemsChangedType<T> onChanged,
  this.label,
  this.labelStyle,
  this.items,
  List<T>? selectedItems,
  this.onFind,
  FindDropdownMultipleItemsBuilderType<T>? dropdownBuilder,
  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,
  @Deprecated("Use 'hintText' property from searchBoxDecoration") this.searchHint,
})  : this.dropdownMultipleItemsBuilder = dropdownBuilder,
      this.multipleSelectedItems = selectedItems,
      this.onMultipleItemsChanged = onChanged,
      this.validateMultipleItems = validate,
      this.validate = null,
      this.dropdownBuilder = null,
      this.selectedItem = null,
      this.onChanged = null,
      super(key: key);