How to fix Target of URI doesn't exist: 'package:food_recipe/models/recipe.dart'?

40 Views Asked by At

I am using Android Studio as IDE. I get an error "Target of URI doesn't exist: 'package:food_recipe/models/recipe.dart'" when I import the package.

I tried "flutter pub cache repair"folow by "flutter clean" , "flutter pub get" and "flutter package upgrade". I also closed and reopen my project. However, none of them are working.

0

There are 0 best solutions below