MultiSelectDialog<T> constructor
MultiSelectDialog<T> ({
- required List<
MultiSelectItem< items,T> > - required List<
T> initialValue, - Widget? title,
- void onSelectionChanged(
- List<
T>
- List<
- void onConfirm(
- List<
T>
- List<
- MultiSelectListType? listType,
- bool searchable = false,
- Text? confirmText,
- Text? cancelText,
- Color? selectedColor,
- String? searchHint,
- double? height,
- double? width,
- Color? colorator(
- T
- Color? backgroundColor,
- Color? unselectedColor,
- Icon? searchIcon,
- Icon? closeSearchIcon,
- TextStyle? itemsTextStyle,
- TextStyle? searchHintStyle,
- TextStyle? searchTextStyle,
- TextStyle? selectedItemsTextStyle,
- bool separateSelectedItems = false,
- Color? checkColor,
Implementation
MultiSelectDialog({
required this.items,
required this.initialValue,
this.title,
this.onSelectionChanged,
this.onConfirm,
this.listType,
this.searchable = false,
this.confirmText,
this.cancelText,
this.selectedColor,
this.searchHint,
this.height,
this.width,
this.colorator,
this.backgroundColor,
this.unselectedColor,
this.searchIcon,
this.closeSearchIcon,
this.itemsTextStyle,
this.searchHintStyle,
this.searchTextStyle,
this.selectedItemsTextStyle,
this.separateSelectedItems = false,
this.checkColor,
});