FindDropdownChip<T> constructor
const
FindDropdownChip<T> ({
- Key? key,
- required FindDropdownChangedType<
T?> onChanged, - String? label,
- TextStyle? labelStyle,
- List<
T> ? items, - T? selectedItem,
- FindDropdownFindType<
T> ? onFind, - FindDropdownItemBuilderType<
T> ? dropdownItemBuilder, - bool showSearchBox = true,
- bool showClearButton = false,
- FindDropdownValidationType<
T> ? validate, - 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,
- FindDropdownThemeData? theme,
- FindDropdownChipBuilderType<
T> ? chipBuilder,
Implementation
const FindDropdownChip({
super.key,
required FindDropdownChangedType<T?> onChanged,
this.label,
this.labelStyle,
this.items,
this.selectedItem,
this.onFind,
this.dropdownItemBuilder,
this.showSearchBox = true,
this.showClearButton = false,
this.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,
// ignore: prefer_initializing_formals
}) : onChanged = onChanged,
validateMultipleItems = null,
multipleSelectedItems = null,
onMultipleItemsChanged = null;