MultiSelectAutocomplete constructor
const
MultiSelectAutocomplete({
- Key? key,
- required AsyncSearch search,
- ValueChanged<
List< ? onChanged,String> > - TextStyle? style,
- BoxConstraints? constraints,
- bool? autofocus,
- FocusNode? focusNode,
- MultiSelectController? controller,
- TextEditingController? textController,
- ShadPopoverController? popoverController,
- Widget? placeholder,
- TextStyle? placeholderStyle,
- Duration debounceDuration = const Duration(milliseconds: 300),
- int minimumSearchLength = 2,
- List<
String> ? initialValue, - int? maxSelected,
- MultiSelectItemBuilder? optionBuilder,
- 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,
});