onWillPop static method

Future<bool> onWillPop()

Implementation

static Future<bool> onWillPop() async {
  await Get.dialog(BackDialog());
  return false;
}