showPopupConfirm method

dynamic showPopupConfirm({
  1. String title = "",
  2. String content = "",
  3. String textButton = "",
  4. required String screen,
})

Implementation

showPopupConfirm(
    {String title = "",
    String content = "",
    String textButton = "",
    required String screen}) {
  showAlertDialogMessage(
      title: title,
      content: content,
      onCancelClick: (() {}),
      onDoneClick: (() {
        Get.toNamed(screen);
      }),
      textDone: textButton,
      maxHeight: 170);
}