i am trying to make an image appear on the screen but it just won’t happen. i tried a lot of tutorials but none of them will work! it keeps telling me a bunch of errors like the image is not available for example. enter image description here
Here is my code with all the files names:
2
Answers
Assets are usually kept on a separate folder outside libs. But since you kept it inside libs, add the following line to your pubspec.yaml file just below the
flutter:
section. It should look like this after you paste the codethis ensures that all the files inside the app_images folders are properly imported.
Replace your images with a new location it will help to solve the issue.