UFUMultiSelect constructor
const
UFUMultiSelect({
- required List<
UFUMultiSelectModel> mainList, - String? inputHintText,
- Widget? totalAmount,
- void updateTotalAmount({})?,
- bool isFilterSheet = false,
- String title = 'Select option',
- ValueChanged<
List< ? onDone,UFUMultiSelectModel> > - Widget? doneIcon,
- bool disableButtons = false,
- bool canDisableDoneButton = false,
- Widget? headerPrefixChild,
- UFUMultiSelectType type = UFUMultiSelectType.local,
- bool isLoading = false,
- VoidCallback? onLoadMore,
- bool isLoadMore = false,
- dynamic onSearch(
- String keyword
- int? totalNetworkListCount,
- Widget? listLoader,
- List<
UFUMultiSelectModel> ? initialSelectionsForNetworkList, - bool canShowLoadMore = false,
- String? helperText,
- List<
UFUMultiSelectModel> ? subList, - bool? canShowSubList,
- ValueChanged<
bool> ? showSubList, - String? subTitleHeader,
- int? maxSelection,
- VoidCallback? onMaxSelectionReached,
- bool showIncludeInactiveButton = false,
- dynamic onTapItem()?,
- bool hideSelectAll = false,
- Key? key,
Implementation
const UFUMultiSelect({
required this.mainList,
this.inputHintText,
this.totalAmount,
this.updateTotalAmount,
this.isFilterSheet = false,
this.title = 'Select option',
this.onDone,
this.doneIcon,
this.disableButtons = false,
this.canDisableDoneButton = false,
this.headerPrefixChild,
this.type = UFUMultiSelectType.local,
this.isLoading = false,
this.onLoadMore,
this.isLoadMore = false,
this.onSearch,
this.totalNetworkListCount,
this.listLoader,
this.initialSelectionsForNetworkList,
this.canShowLoadMore = false,
this.helperText,
this.subList,
this.canShowSubList,
this.showSubList,
this.subTitleHeader,
this.maxSelection,
this.onMaxSelectionReached,
this.showIncludeInactiveButton = false,
this.onTapItem,
this.hideSelectAll = false,
super.key,
});