UFUMultiSelectView constructor

const UFUMultiSelectView({
  1. required List<UFUMultiSelectModel> mainList,
  2. required List<UFUMultiSelectModel> list,
  3. Widget? totalAmount,
  4. required List<UFUMultiSelectModel> subList,
  5. String? inputHintText,
  6. String? title,
  7. ValueChanged<String>? onSearch,
  8. bool canShowSearchBar = false,
  9. TextEditingController? searchInputCtrl,
  10. ValueChanged<String>? onItemTap,
  11. ValueChanged<String>? onSubItemTap,
  12. VoidCallback? selectAndClearAll,
  13. VoidCallback? onDone,
  14. bool isFilterSheet = false,
  15. Widget? headerPrefixChild,
  16. Widget? doneIcon,
  17. bool disableButtons = false,
  18. bool canDisableDoneButton = false,
  19. UFUMultiSelectType type = UFUMultiSelectType.local,
  20. bool isLoading = false,
  21. bool canShowMore = false,
  22. ScrollController? scrollController,
  23. int? totalNetworkListCount,
  24. required List<UFUMultiSelectModel> selectedItems,
  25. bool? isSelectedSubListItems,
  26. Widget? listLoader,
  27. String? helperText,
  28. bool? canShowSubList,
  29. VoidCallback? showSubList,
  30. required bool isViewSubList,
  31. String? subTitleHeader,
  32. int? tempSelectedItemsCount,
  33. int? filterListItemsCount,
  34. ScrollController? scrollList,
  35. bool hideSelectAll = false,
  36. bool showIncludeInactiveButton = false,
  37. VoidCallback? onTapIncludeInactiveButton,
  38. bool includeInactive = false,
  39. Key? key,
})

Implementation

const UFUMultiSelectView({
  required this.mainList,
  required this.list,
  this.totalAmount,
  required this.subList,
  this.inputHintText,
  this.title,
  this.onSearch,
  this.canShowSearchBar = false,
  this.searchInputCtrl,
  this.onItemTap,
  this.onSubItemTap,
  this.selectAndClearAll,
  this.onDone,
  this.isFilterSheet = false,
  this.headerPrefixChild,
  this.doneIcon,
  this.disableButtons = false,
  this.canDisableDoneButton = false,
  this.type = UFUMultiSelectType.local,
  this.isLoading = false,
  this.canShowMore = false,
  this.scrollController,
  this.totalNetworkListCount,
  required this.selectedItems,
  this.isSelectedSubListItems,
  this.listLoader,
  this.helperText,
  this.canShowSubList,
  this.showSubList,
  required this.isViewSubList,
  this.subTitleHeader,
  this.tempSelectedItemsCount,
  this.filterListItemsCount,
  this.scrollList,
  this.hideSelectAll = false,
  this.showIncludeInactiveButton = false,
  this.onTapIncludeInactiveButton,
  this.includeInactive = false,
  super.key});