Closed ndenisj closed 4 years ago
If you use btnOkOnPress function theres is no need to call Navigor.of(contex).pop because the dissmiss of the dialogue is handled internally. in your case the Navigator.of(context).pop is called twice one by the librery internally and one by you. Hop that help
If you use btnOkOnPress function theres is no need to call Navigor.of(contex).pop because the dissmiss of the dialogue is handled internally. in your case the Navigator.of(context).pop is called twice one by the librery internally and one by you. Hop that help
Thanks, it worked perfectly.