show static method
Implementation
static Future<void> show(
BuildContext context, InventoryLocalization localizations) {
return
showCustomPopup(
context: context,
builder: (popupContext) => Popup(
title: localizations.translate(
i18.warehouseDetails.noFacilitiesAssigned,
),
onOutsideTap: () {
Navigator.of(popupContext).pop();
},
description:localizations.translate(
i18.warehouseDetails.noFacilitiesAssignedDescription,
),
type: PopUpType.alert,
actions: [
DigitButton(
label: localizations.translate(
i18.common.corecommonclose,
),
onPressed: () {
Navigator.of(popupContext, rootNavigator: true).pop();
popupContext.router.maybePop();
},
type: DigitButtonType.primary,
size: DigitButtonSize.large,
),
],
),
);
}