skip to Main Content

I would like to ask if someone encountered this issue, I have tried cloning my flutter repo from github and opened my app in the root folder of the repository flutter pub get and after that I tried running it in an emulator however I do get this error…

error code after running

I have tried doing fluter clean and fluter pub get same with flutter pub get but I got no luck, this is my first time encountering this error so I really have no Idea. Thank you!

2

Answers


  1. you need to add null check(?) in given directions where your error at

    Login or Signup to reply.
  2. You can add null (i) to the error message,and for detail you can check https://dart.dev/null-safety

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search