I have uploaded the images to asset folder and updated the pubspec.yaml file too. But the images are not displaying and pubspec.yaml file shows an error.
.yaml error
The asset file ‘assets/warning_lights/tpms.jpg’ doesn’t exist.
Try creating the file or fixing the path to the file.
Folder structure and error
(https://i.sstatic.net/rdTNFvkZ.png)
I have reuploaded the images and tried changing the image type too.
Shehara Fernando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.