I have added my assets into my projects directory also did everything on pubspec.yaml
but I am 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.yaml
assets folder
Turns out i forgot to put a - before family: Roboto. Just fixed it