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