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