I\'ve just setup my Macbook for flutter development,
So I downloaded flutter sdk, and placed it in my Documents. After, I setup my path variable to
Close the VS Code and Run it again
I didn't think this was possible: I had to delete flutter folder and reinstall it from scratch!
Sometimes, this issue is resolved simply by running flutter pub get
once again...
packages get to make sure that all packages are considered...
as when moving the project from one computer to another, this may happen, that the packages are not taken into consideration, so flutter pub get
and there you go !!!
The quickest way to get Dart-Code to reliably find your Flutter install and use it is to create a new FLUTTER_ROOT
environment variable and set it to your Flutter path.
Restart the VS Code you will see magic! If that's not work check the indent in the pubsepec.yaml