I keep receiving an error that says Flutter Error Unable to Load Asset

390 views Asked by At

I'm new to flutter. While adding an image and trying to run I got an error that said "Flutter Error Unable to load asset". An image of the problem can be seen below. If anyone can help that would be really appreciated! IMAGE: [https://i.stack.imgur.com/7ZzvM.png]

2

There are 2 answers

2
Shyam Sundar Bharathi On

Please check your pubspec.yaml file for proper indentation. Also, once declared in pubspec, you're supposed to get dependencies in source code. Have you done both? Also, check this thread - fluttererror-unableToLoadAsset

4
adrsh23 On

Please check your folder name.

You have written asssets instead of assets that is why the error is occuring.