FindDropdown<T>.multiSelect constructor
const
FindDropdown<T>.multiSelect ({
- Key? key,
- required FindDropdownMultipleItemsChangedType<
T> onChanged, - String? label,
- TextStyle? labelStyle,
- List<
T> ? items, - List<
T> ? selectedItems, - FindDropdownFindType<
T> ? onFind, - FindDropdownMultipleItemsBuilderType<
T> ? dropdownBuilder, - FindDropdownItemBuilderType<
T> ? dropdownItemBuilder, - bool showSearchBox = true,
- bool showClearButton = false,
- FindDropdownValidationType<
List< ? validate,T> > - InputDecoration? searchBoxDecoration,
- Color? backgroundColor,
- TextStyle? titleStyle,
- WidgetBuilder? emptyBuilder,
- WidgetBuilder? loadingBuilder,
- ErrorBuilderType? errorBuilder,
- BoxConstraints? constraints,
- bool? autofocus,
- int? searchBoxMaxLines,
- int? searchBoxMinLines,
- ButtonBuilderType? okButtonBuilder,
- bool labelVisible = true,
- @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);