Skip to content
New issue

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

Null check operator used on a null value #1

Open
Kolovrat19 opened this issue Oct 25, 2024 · 6 comments
Open

Null check operator used on a null value #1

Kolovrat19 opened this issue Oct 25, 2024 · 6 comments

Comments

@Kolovrat19
Copy link

First start - navigatorKey.currentState! (Null check operator used on a null value)

@Snehasis4321
Copy link
Owner

can you tell which line you are getting this error, there are many places where navigatorKey is being used.

@Kolovrat19
Copy link
Author

main.dart

@Snehasis4321
Copy link
Owner

no not a problem on mine, which version of flutter are you using?

@Kolovrat19
Copy link
Author

Flutter 3.24.0

@Snehasis4321
Copy link
Owner

tested on flutter 3.24.3 ,

  • pixel 6 API 35 (working)
  • nexus S API 24 (working)

just make sure

  • In breakpoints don't catch All Exceptions : make sure it is untick
  • You can catch Uncaught Exceptions : can tick it depending on you

this should be like this ->

image

@Kolovrat19
Copy link
Author

Ok. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants