PopupPropsMultiSelection<T>.bottomSheet constructor

const PopupPropsMultiSelection<T>.bottomSheet({
  1. Widget? title,
  2. FlexFit fit = FlexFit.tight,
  3. bool showSearchBox = false,
  4. TextFieldProps searchFieldProps = const TextFieldProps(),
  5. ListViewProps listViewProps = const ListViewProps(),
  6. FavoriteItemProps<T> favoriteItemProps = const FavoriteItemProps(),
  7. BottomSheetProps bottomSheetProps = const BottomSheetProps(),
  8. ScrollbarProps scrollbarProps = const ScrollbarProps(),
  9. Duration searchDelay = const Duration(seconds: 1),
  10. VoidCallback? onDismissed,
  11. EmptyBuilder? emptyBuilder,
  12. DropdownSearchPopupItemBuilder<T>? itemBuilder,
  13. ErrorBuilder? errorBuilder,
  14. LoadingBuilder? loadingBuilder,
  15. bool showSelectedItems = false,
  16. DropdownSearchPopupItemEnabled<T>? disabledItemFn,
  17. bool isFilterOnline = false,
  18. PopupBuilder? containerBuilder,
  19. BoxConstraints constraints = const BoxConstraints(maxHeight: 500),
  20. bool interceptCallBacks = false,
  21. OnItemAdded<T>? onItemAdded,
  22. OnItemRemoved<T>? onItemRemoved,
  23. DropdownSearchPopupItemBuilder<T>? selectionWidget,
  24. ValidationMultiSelectionBuilder<T>? validationWidgetBuilder,
  25. TextDirection textDirection = TextDirection.ltr,
})

Implementation

const PopupPropsMultiSelection.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();