MultiSelectDialog<T> constructor

MultiSelectDialog<T>({
  1. required List<MultiSelectItem<T>> items,
  2. required List<T> initialValue,
  3. Widget? title,
  4. void onSelectionChanged(
    1. List<T>
    )?,
  5. void onConfirm(
    1. List<T>
    )?,
  6. MultiSelectListType? listType,
  7. bool searchable = false,
  8. Text? confirmText,
  9. Text? cancelText,
  10. Color? selectedColor,
  11. String? searchHint,
  12. double? height,
  13. double? width,
  14. Color? colorator(
    1. T
    )?,
  15. Color? backgroundColor,
  16. Color? unselectedColor,
  17. Icon? searchIcon,
  18. Icon? closeSearchIcon,
  19. TextStyle? itemsTextStyle,
  20. TextStyle? searchHintStyle,
  21. TextStyle? searchTextStyle,
  22. TextStyle? selectedItemsTextStyle,
  23. bool separateSelectedItems = false,
  24. 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,
});