简体   繁体   中英

Target of URI doesn't exist:'package:flutter_screenutil/flutter_screenutil.dart'

on adding flutter_screenutil package version 1.0.2,the "target of URI doesn't exist" error is being showed i have tried the latest flutter_screenutil: ^4.0.2+1 package also but both give the same error. How to solve this error

I assume youre using Visual Studio Code.

Restarting Visual Studio Code after

flutter pub get

This will do it.

You can also check the library of flutter on using packages https://flutter.dev/docs/development/packages-and-plugins/using-packages

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM