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

flutter clean

flutter packages get

flutter packages upgrade ( Optional - use if you want to upgrade packages )

Restart Android Studio or Visual Studio

posted @ 2023-05-02 03:05  johnny_zhao  阅读(179)  评论(0编辑  收藏  举报