show<T> static method
- BuildContext context, {
- required Release release,
- bool critical = false,
Displays an UpgradePopupView wrapped in a ModalPopup.
Implementation
static Future<T?> show<T>(
BuildContext context, {
required Release release,
bool critical = false,
}) {
return ModalPopup.show(
context: context,
child: UpgradePopupView(release, critical: critical),
isDismissible: !critical,
);
}