Open mayed123502 opened 1 year ago
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(); }
When you click on the button to show awesome dialog, transparency appears over the application screen, but awesome dialog does not appear