FlutterError: Unable to load asset

How to load an asset in Flutter.

The simplest way is to reference your assest folder instead of the asset itself, just make sure you use proper indentations as the pubspec.yaml is indent sensitive.

and you can simply access each image as