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

Navigator.pop(context); doesn't work! #25

Closed
Mu7ammadRasul opened this issue Jan 21, 2023 · 0 comments
Closed

Navigator.pop(context); doesn't work! #25

Mu7ammadRasul opened this issue Jan 21, 2023 · 0 comments

Comments

@Mu7ammadRasul
Copy link

Mu7ammadRasul commented Jan 21, 2023

i tried the default CupertinoAlertDialog and was just working fine but when i switched to material_dialogs package then neither Navigator.pop(context) nor Navigator.of(context).pop did work, it pops into the previous page instead of vanishing the dialog!

edit1:
The relevant error-causing widget was: MaterialApp MaterialApp:file:///C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_no_internet_wi dget-0.0.9+17/lib/src/flutter_no_internet_widget.dart:71:12

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