SelectionWidget<T> constructor
const
SelectionWidget<T> ({
- Key? key,
- required HcPopupPropsMultiSelection<
T> popupProps, - List<
T> defaultSelectedItems = const [], - bool isMultiSelectionMode = false,
- List<
T> items = const [], - ValueChanged<
List< ? onChanged,T> > - HcDropdownSearchOnFind<
T> ? asyncItems, - HcDropdownSearchItemAsString<
T> ? itemAsString, - HcDropdownSearchFilterFunction<
T> ? filterFn, - HcDropdownSearchCompareFunction<
T> ? compareFn,
Implementation
const SelectionWidget({
Key? key,
required this.popupProps,
this.defaultSelectedItems = const [],
this.isMultiSelectionMode = false,
this.items = const [],
this.onChanged,
this.asyncItems,
this.itemAsString,
this.filterFn,
this.compareFn,
}) : super(key: key);