awesomeDialogs
awesomeDialogs copied to clipboard
Null check operator used on a null value
awesome_dialog 3.0.2 This problem appears only main page:


This hook give the same result:

Sorry, I found error - two times call
Navigator.pop(context);
Error in the package or in your app code? I'm running into this error as well.
Yes, it's an error on the unmounted dialog context... I fixed it by manually dismissing the dialog, keeping the navigator instance cached before the dialog being showed like:
final router = Navigator.of(context, rootNavigator: useRootNavigator);
AwesomeDialog(...).show();
then you can use the cached router to call pop() on the dismissCallback or something...