I am learning flutter and start making items from the scratch but I am unable to import anything
I tried flutter pub get
nothing works
Tried Ctrl + Alt + P
-> Developer: Window Reload
not working still
Tried Restarting the Application manually still the same
I am unable to import anything such simple.
3
Answers
Try command
flutter clean build
then
flutter pub get
This usually solves such problems.
Try to update the version of Flutter using Following Command :
flutter upgrade
Also Run this command :
flutter doctor
flutter –version
Also Update Your IDE to latest one…
Can you check if you have enabled these extensions in your VS Code?