I did it in the android studio before. That's why I can't understand this doesn't work... Is this a kind of bug? or Am I doing wrong? the "get packages" is the same as "pub get" in android studio. isn't it? assets
Your assets folder is under the lib folder. It should be in the main folder.
Or you can edit your path like this:
assets: - lib/assets/bar.jpg
2.1m questions
2.1m answers
60 comments
57.0k users