How to add images to the Flutter project
![](https://www.bestdevops.com/wp-content/uploads/2023/05/maxresdefault-1-1-375x210.jpg)
Create an image folder inside an assets folder, create assets if not exist.
![](https://www.bestdevops.com/wp-content/uploads/2023/05/image-121.png)
Flutter Image_directory
This should be in your root folder, in that same root directory you will find a pubspec.yaml file ,
![](https://www.bestdevops.com/wp-content/uploads/2023/05/image-122.png)
pubspec.yaml
your need to make some changes on this file open it in your vscode editor, and change some lines like shown below.
![](https://www.bestdevops.com/wp-content/uploads/2023/05/image-123.png)
To this
![](https://www.bestdevops.com/wp-content/uploads/2023/05/image-124.png)
after this just use your images in your code after including child image function.
![](https://www.bestdevops.com/wp-content/uploads/2023/05/image-125.png)