Visual Studio Code - Target of URI doesn't exist 'package:flutter/material.dart'

后端 未结 29 919
Happy的楠姐
Happy的楠姐 2020-12-07 21:33

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

29条回答
  •  隐瞒了意图╮
    2020-12-07 22:08

    I was following the Flutter get started tutorial and VSCode could not find the package for english_words, despite it showing in pubspeck.lock and .packages. Hot reload didn't work.

    To make it work, I stopped the instance and re-run it - so I didn't have to restart VSCode.

提交回复
热议问题