HcPopupPropsMultiSelection<T>.dialog constructor
const
HcPopupPropsMultiSelection<T>.dialog ({
- Widget? title,
- FlexFit fit = FlexFit.tight,
- bool showSearchBox = false,
- TextFieldProps searchFieldProps = const TextFieldProps(),
- ScrollbarProps scrollbarProps = const ScrollbarProps(),
- ListViewProps listViewProps = const ListViewProps(),
- FavoriteItemProps<
T> favoriteItemProps = const FavoriteItemProps(), - DialogProps dialogProps = const DialogProps(),
- 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(minWidth: 500, maxWidth: 500, maxHeight: 600),
- bool interceptCallBacks = false,
- OnItemAdded<
T> ? onItemAdded, - OnItemRemoved<
T> ? onItemRemoved, - HcDropdownSearchPopupItemBuilder<
T> ? selectionWidget, - ValidationMultiSelectionBuilder<
T> ? validationWidgetBuilder, - TextDirection textDirection = TextDirection.ltr,
Implementation
const HcPopupPropsMultiSelection.dialog({
super.title,
super.fit = FlexFit.tight,
super.showSearchBox = false,
super.searchFieldProps = const TextFieldProps(),
super.scrollbarProps = const ScrollbarProps(),
super.listViewProps = const ListViewProps(),
super.favoriteItemProps = const FavoriteItemProps(),
super.dialogProps = const DialogProps(),
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(
minWidth: 500,
maxWidth: 500,
maxHeight: 600,
),
super.interceptCallBacks = false,
this.onItemAdded,
this.onItemRemoved,
this.selectionWidget,
this.validationWidgetBuilder,
this.textDirection = TextDirection.ltr,
}) : super.dialog();