flutter-status-alert
flutter-status-alert copied to clipboard
Navigator.pop(context) is required after showing an alert
I'm sharing in case others are having similar issues. Maybe I am the only person using Navigator for jumping pages, because there is no other reports here. When using this notification library, a new navigation point is added to the stack, and is NOT popped off when the notification ends. So in order to go back on page, TWO calls of pop() are required. I could work around this issue if there was a callback on completion.
Navigator.pop(context); // close alert dialog Navigator.pop(context); // close current page