showDialog static method

dynamic showDialog()

Shows a DialogBox

Implementation

static showDialog() {
  Get.defaultDialog(
      title: "Hey There",
      onCancel: () {},
      onConfirm: () {
        Get.back();
      });
}