We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion failed: file:///C:/Users/User/flutter/packages/flutter/lib/src/widgets/navigator.dart:5307:12 !_debugLocked is not true
Does anyone know why this happens? I did all the steps right but still it crashes after it loads.
The text was updated successfully, but these errors were encountered:
WidgetsBinding.instance?.addPostFrameCallback((_) { Navigator.pushReplacement( context, MaterialPageRoute( builder: (context) { return LocationScreen(locationWeather: weatherData); }, ), ); });
Try this, It works for me.
Sorry, something went wrong.
No branches or pull requests
Assertion failed: file:///C:/Users/User/flutter/packages/flutter/lib/src/widgets/navigator.dart:5307:12
!_debugLocked
is not true
Does anyone know why this happens?
I did all the steps right but still it crashes after it loads.
The text was updated successfully, but these errors were encountered: