HcPopupPropsMultiSelection<T>.from constructor

HcPopupPropsMultiSelection<T>.from(
  1. PopupProps<T> popupProps
)

Implementation

HcPopupPropsMultiSelection.from(PopupProps<T> popupProps)
    : this._(
        title: popupProps.title,
        fit: popupProps.fit,
        favoriteItemProps: popupProps.favoriteItemProps,
        disabledItemFn: popupProps.disabledItemFn,
        emptyBuilder: popupProps.emptyBuilder,
        errorBuilder: popupProps.errorBuilder,
        isFilterOnline: popupProps.isFilterOnline,
        itemBuilder: popupProps.itemBuilder,
        listViewProps: popupProps.listViewProps,
        loadingBuilder: popupProps.loadingBuilder,
        modalBottomSheetProps: popupProps.modalBottomSheetProps,
        onDismissed: popupProps.onDismissed,
        scrollbarProps: popupProps.scrollbarProps,
        searchDelay: popupProps.searchDelay,
        searchFieldProps: popupProps.searchFieldProps,
        showSearchBox: popupProps.showSearchBox,
        showSelectedItems: popupProps.showSelectedItems,
        mode: popupProps.mode,
        bottomSheetProps: popupProps.bottomSheetProps,
        dialogProps: popupProps.dialogProps,
        menuProps: popupProps.menuProps,
        containerBuilder: popupProps.containerBuilder,
        constraints: popupProps.constraints,
        interceptCallBacks: popupProps.interceptCallBacks,
        onItemAdded: null,
        onItemRemoved: null,
        selectionWidget: null,
        validationWidgetBuilder: null,
        textDirection: TextDirection.ltr,
      );