Hello community, I hope you are having a good day. Sorry for the inconvenience, what happens is that I am new to the development with Flutter
and I am trying to display an image but it does not show it and it does not stop throwing a warning that says it is not possible to show the image, I understand that I must create my assets
directory which is already and I must add it to the pubspec.yaml
file which I already did and I have it in the following way:
uses-material-design: true
assets:
- lib/assets/
and I'll call the image in this way:
Image.asset('logo.png')
Just my directory is in the path specified above and my image is there with that name but it does not stop showing me the error that can not show it. If you can help me, I'll be very grateful.
Thank you in advance, I wish you the best and have an excellent day. Blessings to all.