How to add Images in Flutter.

Create an image folder inside an assets folder, create assets if not exist.

Image_flutter
Flutter Image_directory

This should be in your root folder, in that same root directory you will find a pubspec.yaml file ,

pubspec.yaml
pubspec.yaml

your need to make some changes on this file open it in your vscode editor, and change some lines like shown below.

To this

after this just use your images in your code after including child image function.