Table of Contents
Flutter Assets Images |
Note :
Your “assets” folder will have “images” and many other project assets like “fonts”, “icons”, “animation files” etc.
Add images to your flutter project |
Save the pubspec.yaml file and run “flutter pub get command” in terminal.
Flutter pubspec.yaml file |
Note : If you have multiple images that you want to include in your project then you can skip the filename.
For Example,
assets:
- assets/images/
Flutter Image Class - Documentation
Also refer official class documentation with this guide to deeply understand the concept.
Let us start with the simplest way to display images in our flutter app.
Flutter Image Class |