flutter ' navigator._debuglocked' is not true code example
Example: !navigator._debugLocked': is not true
SchedulerBinding.instance.addPostFrameCallback((_) {
Navigator. ...
});
SchedulerBinding.instance.addPostFrameCallback((_) {
Navigator. ...
});