enter image description hereMy flutter project is not displaying my image in the CircleAvatar and I followed the instructions of Angela Yu’s video. I created a new directory for the image, set my path in pubspec.yamal and then incorporated the path into my main.dart. The image is not showing and all other things are working. What can I do?
2
Answers
Add assets/images/ in pubspec.yamal
Ex.
flutter:
uses-material-design: true
assets:
– assets/images/
Useing.
Image.asset(‘assets/images/name_img.jpg’),