UFUMultiSelectView constructor
const
UFUMultiSelectView({
- required List<
UFUMultiSelectModel> mainList, - required List<
UFUMultiSelectModel> list, - Widget? totalAmount,
- required List<
UFUMultiSelectModel> subList, - String? inputHintText,
- String? title,
- ValueChanged<
String> ? onSearch, - bool canShowSearchBar = false,
- TextEditingController? searchInputCtrl,
- ValueChanged<
String> ? onItemTap, - ValueChanged<
String> ? onSubItemTap, - VoidCallback? selectAndClearAll,
- VoidCallback? onDone,
- bool isFilterSheet = false,
- Widget? headerPrefixChild,
- Widget? doneIcon,
- bool disableButtons = false,
- bool canDisableDoneButton = false,
- UFUMultiSelectType type = UFUMultiSelectType.local,
- bool isLoading = false,
- bool canShowMore = false,
- ScrollController? scrollController,
- int? totalNetworkListCount,
- required List<
UFUMultiSelectModel> selectedItems, - bool? isSelectedSubListItems,
- Widget? listLoader,
- String? helperText,
- bool? canShowSubList,
- VoidCallback? showSubList,
- required bool isViewSubList,
- String? subTitleHeader,
- int? tempSelectedItemsCount,
- int? filterListItemsCount,
- ScrollController? scrollList,
- bool hideSelectAll = false,
- bool showIncludeInactiveButton = false,
- VoidCallback? onTapIncludeInactiveButton,
- bool includeInactive = false,
- 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});