MultiSelectBottomSheet<T> constructor

MultiSelectBottomSheet<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. Text? cancelText,
  8. Text? confirmText,
  9. bool searchable = false,
  10. Color? selectedColor,
  11. double? initialChildSize,
  12. double? minChildSize,
  13. double? maxChildSize,
  14. Color? colorator(
    1. T
    )?,
  15. Color? unselectedColor,
  16. Icon? searchIcon,
  17. Icon? closeSearchIcon,
  18. TextStyle? itemsTextStyle,
  19. TextStyle? searchTextStyle,
  20. String? searchHint,
  21. TextStyle? searchHintStyle,
  22. TextStyle? selectedItemsTextStyle,
  23. bool separateSelectedItems = false,
  24. Color? checkColor,
})

Implementation

MultiSelectBottomSheet({
  required this.items,
  required this.initialValue,
  this.title,
  this.onSelectionChanged,
  this.onConfirm,
  this.listType,
  this.cancelText,
  this.confirmText,
  this.searchable = false,
  this.selectedColor,
  this.initialChildSize,
  this.minChildSize,
  this.maxChildSize,
  this.colorator,
  this.unselectedColor,
  this.searchIcon,
  this.closeSearchIcon,
  this.itemsTextStyle,
  this.searchTextStyle,
  this.searchHint,
  this.searchHintStyle,
  this.selectedItemsTextStyle,
  this.separateSelectedItems = false,
  this.checkColor,
});