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
dismiss dialog when user press button inside it #37
Comments
var yyDialog = YYDialog(); |
I tried the same but not working. |
|
@dhalloop7 instead of using dismiss, try this:
dont forget to pass context from the your root widget |
I tried all above solutions but still it's not dismiss the dialog. Even I am getting callback as well but it's not dismissing the dialog and If I try to dismiss dialog inside callback sometime it's close the current page |
try v1.0.20 'useRootNavigator' property |
so i have this dialog with 2 button inside : CANCEL and DISCARD
my question is, how can i dismiss the dialog when user press one of those button? should i use Navigator.pop ?
The text was updated successfully, but these errors were encountered: