show static method
Implementation
static show({required VoidCallback onConfirm, VoidCallback? onPressClose, bool? barrierDismissible}) async {
return await callDependingOnScreen(
doMobile: () async {
return await openBottomSheet(
ResidentCountryView(
isDialog: false,
onConfirm: onConfirm,
onPressClose: onPressClose,
),
);
},
doWeb: () async {
return await openDialog(
barrierDismissible: barrierDismissible ?? true,
ResidentCountryView(
isDialog: true,
onConfirm: onConfirm,
onPressClose: onPressClose,
),
);
},
);
}