HcPopupPropsMultiSelection<T>.modalBottomSheet constructor
const
HcPopupPropsMultiSelection<T>.modalBottomSheet ({
- Widget? title,
- bool isFilterOnline = false,
- FlexFit fit = FlexFit.tight,
- HcDropdownSearchPopupItemBuilder<
T> ? itemBuilder, - HcDropdownSearchPopupItemEnabled<
T> ? disabledItemFn, - bool showSearchBox = false,
- TextFieldProps searchFieldProps = const TextFieldProps(),
- FavoriteItemProps<
T> favoriteItemProps = const FavoriteItemProps(), - ModalBottomSheetProps modalBottomSheetProps = const ModalBottomSheetProps(),
- ScrollbarProps scrollbarProps = const ScrollbarProps(),
- ListViewProps listViewProps = const ListViewProps(),
- Duration searchDelay = const Duration(seconds: 1),
- VoidCallback? onDismissed,
- EmptyBuilder? emptyBuilder,
- ErrorBuilder? errorBuilder,
- LoadingBuilder? loadingBuilder,
- bool showSelectedItems = false,
- PopupBuilder? containerBuilder,
- BoxConstraints constraints = const BoxConstraints(maxHeight: 500),
- bool interceptCallBacks = false,
- OnItemAdded<
T> ? onItemAdded, - OnItemRemoved<
T> ? onItemRemoved, - HcDropdownSearchPopupItemBuilder<
T> ? selectionWidget, - ValidationMultiSelectionBuilder<
T> ? validationWidgetBuilder, - TextDirection textDirection = TextDirection.ltr,
Implementation
const HcPopupPropsMultiSelection.modalBottomSheet({
super.title,
super.isFilterOnline,
super.fit = FlexFit.tight,
super.itemBuilder,
super.disabledItemFn,
super.showSearchBox,
super.searchFieldProps = const TextFieldProps(),
super.favoriteItemProps = const FavoriteItemProps(),
super.modalBottomSheetProps = const ModalBottomSheetProps(),
super.scrollbarProps = const ScrollbarProps(),
super.listViewProps = const ListViewProps(),
super.searchDelay,
super.onDismissed,
super.emptyBuilder,
super.errorBuilder,
super.loadingBuilder,
super.showSelectedItems,
super.containerBuilder,
super.constraints = const BoxConstraints(maxHeight: 500),
super.interceptCallBacks = false,
this.onItemAdded,
this.onItemRemoved,
this.selectionWidget,
this.validationWidgetBuilder,
this.textDirection = TextDirection.ltr,
}) : super.modalBottomSheet();