Flutter :How to include images in your Flutter app
How to include images in your Flutter app
- Create an assets/images folder. assets/images folder.
- Add your image to the new folder.
- Register the assets folder in pubspec. yaml. ...
- Use the image in code. Get the asset in an Image widget with Image.
- Restart your app. When making changes.
0 Comments