Home > Software design >  Flutter: Unable to load asset file
Flutter: Unable to load asset file

Time:05-10

i've added my assets into my projects directory also did everything on pubspec.yaml but im still getting the Unable to load asset.

I also tried giving a specific path (like - assets/image/x.png) in pubspec, but nothing changed.

What am i doing wrong?

I used it like this

pubspec

assets folder

CodePudding user response:

@vinternal just stop and run app again.

CodePudding user response:

Turns out i forgot to put a - before family: Roboto. Just fixed it

  • Related