onPressBackShowAlertDialog1 function
Implementation
Future<bool> onPressBackShowAlertDialog1() async {
return showDialog(
context: Get.context!,
barrierDismissible: false,
builder: (BuildContext context) {
return DialogAlertOnPressBack();
}).then((value) => value!);
}