skip to Main Content

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.

enter image description here

3

Answers


  1. Try command

    flutter clean build

    then

    flutter pub get

    This usually solves such problems.

    Login or Signup to reply.
  2. 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…

    Login or Signup to reply.
  3. Can you check if you have enabled these extensions in your VS Code?

    enter image description here

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