Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

awesome dialog don't show #133

Open
mayed123502 opened this issue Aug 9, 2023 · 0 comments
Open

awesome dialog don't show #133

mayed123502 opened this issue Aug 9, 2023 · 0 comments

Comments

@mayed123502
Copy link

When you click on the button to show awesome dialog, transparency appears over the application screen, but awesome dialog does not appear

void askDoAgain() {
    AwesomeDialog(
      context: context,
      headerAnimationLoop: false,
      dialogType: DialogType.question,
      animType: AnimType.topSlide,
      title: trans(context, 'make_another_transaction'),
      desc: trans(context, 'start_new_transaction'),
      btnCancelText: trans(context, 'cancel'),
      btnOkText: trans(context, 'ok'),
      btnCancelOnPress: () {
        // Navigator.pop(context);
      },
      btnCancelColor: Colors.grey[600],
      btnOkColor: colors.primaryColor,
      btnOkOnPress: () async {
        customerName.clear();
        customerPhone.clear();
        customerLocation.clear();
        _btnController.reset();
      },
    ).show();
  }
function: () { 
      askDoAgain();
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant