HcPopupPropsMultiSelection<T>.modalBottomSheet constructor

const HcPopupPropsMultiSelection<T>.modalBottomSheet({
  1. Widget? title,
  2. bool isFilterOnline = false,
  3. FlexFit fit = FlexFit.tight,
  4. HcDropdownSearchPopupItemBuilder<T>? itemBuilder,
  5. HcDropdownSearchPopupItemEnabled<T>? disabledItemFn,
  6. bool showSearchBox = false,
  7. TextFieldProps searchFieldProps = const TextFieldProps(),
  8. FavoriteItemProps<T> favoriteItemProps = const FavoriteItemProps(),
  9. ModalBottomSheetProps modalBottomSheetProps = const ModalBottomSheetProps(),
  10. ScrollbarProps scrollbarProps = const ScrollbarProps(),
  11. ListViewProps listViewProps = const ListViewProps(),
  12. Duration searchDelay = const Duration(seconds: 1),
  13. VoidCallback? onDismissed,
  14. EmptyBuilder? emptyBuilder,
  15. ErrorBuilder? errorBuilder,
  16. LoadingBuilder? loadingBuilder,
  17. bool showSelectedItems = false,
  18. PopupBuilder? containerBuilder,
  19. BoxConstraints constraints = const BoxConstraints(maxHeight: 500),
  20. bool interceptCallBacks = false,
  21. OnItemAdded<T>? onItemAdded,
  22. OnItemRemoved<T>? onItemRemoved,
  23. HcDropdownSearchPopupItemBuilder<T>? selectionWidget,
  24. ValidationMultiSelectionBuilder<T>? validationWidgetBuilder,
  25. 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();