Failed assertion: line 5495 pos 12: ‘!_debugLocked’: is not true.

2024/01/19 15:48

Error

======== Exception caught by widgets library =======================================================
The following assertion was thrown building Navigator-[GlobalObjectKey<NavigatorState> _WidgetsAppState#00269](dirty, dependencies: [HeroControllerScope, UnmanagedRestorationScope], state: NavigatorState#8c3e5(tickers: tracking 2 tickers)):
‘package:flutter/src/widgets/navigator.dart’: Failed assertion: line 5495 pos 12: ‘!_debugLocked’: is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.yml

Solution

I am working on it. I will udpate this post as soon as I solve it.

Leave a Reply

Back to top