flutter Unable to load asset: /assets code example
Example 1: flutter failed to load asset image
flutter:
assets:
- assets/images/img.png
Example 2: Unhandled Exception: Unable to load asset
flutter:
[2 whitespaces or 1 tab]assets:
[4 whitespaces or 2 tabs]- images/pizza1.png
[4 whitespaces or 2 tabs]- images/pizza0.png