package:flutter-src-widgets-navigator.dart: failed assertion: line 3524 pos 12: !_debuglocked: is not true.
166
If you are facing issue at the time of 2 dialogs open on 1 screen.. Just put one dialogue in this Future.delayed...
Future.delayed(Duration.zero, () {
Navigator. ...
});