getting this error again & again but the image path is perfectly alright & dependecy is added properly in the yamal file!
Exception has occurred.
FlutterError (Unable to load asset: "assets/images/profile.png".
Exception: Asset not found)
assets:
– assets/images
this dint soleved the proble
2
Answers
If you want to add all the assets in a folder (say "images" folder), you should add "/" at the end as below in pubspec.yaml.
Follow the following steps:
assets/images
inside project but outside lib folder.pubspec.yaml
and add:(The indents must be precise)
RUN IT AGAIN
.