I have been using VSCode for flutter development without issue, then today all of a sudden the dart analyzer is complaining that the majority of the classes are undefined, or targets do not exists.
Has anyone seen this before?
I have restarted VSCode, restarted computer, uninstalled flutter/dart plugins, ran flutter doctor with no issues...I am out of ideas.
VSCode Issues
Go to pubspec.yaml, right click and do Get Packages. It seems to work for me all the time.
I got this problem too then I reinstalled dart and flutter plugin from androod studio and it's fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With