MultiSelectBottomSheet<T> constructor

MultiSelectBottomSheet<T>({
  1. Key? key,
  2. required List<MultiSelectItem<T>> items,
  3. required List selectedList,
  4. required List<T> initialValue,
  5. Widget? title,
  6. void onSelectionChanged(
    1. dynamic
    )?,
  7. required bool enableSingleSelection,
  8. MultiSelectListType? listType,
  9. Text? cancelText,
  10. required bool enableTag,
  11. Text? confirmText,
  12. bool searchable = false,
  13. Color? selectedColor,
  14. double? initialChildSize,
  15. double? minChildSize,
  16. double? maxChildSize,
  17. Color? colorator(
    1. T
    )?,
  18. Color? unselectedColor,
  19. Icon? searchIcon,
  20. Icon? closeSearchIcon,
  21. TextStyle? itemsTextStyle,
  22. TextStyle? searchTextStyle,
  23. String? searchHint,
  24. TextStyle? searchHintStyle,
  25. TextStyle? selectedItemsTextStyle,
  26. bool separateSelectedItems = false,
  27. Color? checkColor,
})

Implementation

MultiSelectBottomSheet({
  Key? key,
  required this.items,
  required this.selectedList,
  required this.initialValue,
  this.title,
  this.onSelectionChanged,
  required this.enableSingleSelection,
  this.listType,
  this.cancelText,
  required this.enableTag,
  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,
}) : super(key: key);