MultiSelectAutocomplete constructor

const MultiSelectAutocomplete({
  1. Key? key,
  2. required AsyncSearch search,
  3. ValueChanged<List<String>>? onChanged,
  4. TextStyle? style,
  5. BoxConstraints? constraints,
  6. bool? autofocus,
  7. FocusNode? focusNode,
  8. MultiSelectController? controller,
  9. TextEditingController? textController,
  10. ShadPopoverController? popoverController,
  11. Widget? placeholder,
  12. TextStyle? placeholderStyle,
  13. Duration debounceDuration = const Duration(milliseconds: 300),
  14. int minimumSearchLength = 2,
  15. List<String>? initialValue,
  16. int? maxSelected,
  17. MultiSelectItemBuilder? optionBuilder,
  18. MultiSelectItemBuilder? selectedItemBuilder,
})

Implementation

const MultiSelectAutocomplete({
  super.key,
  required this.search,
  this.onChanged,
  this.style,
  this.constraints,
  this.autofocus,
  this.focusNode,
  this.controller,
  this.textController,
  this.popoverController,
  this.placeholder,
  this.placeholderStyle,
  this.debounceDuration = const Duration(milliseconds: 300),
  this.minimumSearchLength = 2,
  this.initialValue,
  this.maxSelected,
  this.optionBuilder,
  this.selectedItemBuilder,
});