You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Asset documentation should have a simple intro. #4927
The documentation for assets should be clear and more to the point, with details about usage coming up later. For example, Specifying assets speaks about assets and paths inside the flutter.yaml before talking about the assets folder.
A simpler way might be:
We usually use the assets folder for assets. You need to specify them inside the flutter.yaml:
Also, we should probably have a very simple example of how to use an image asset closer to the top of the document.
Also, we should probably have a very simple example of how to use an image asset closer to the top of the document.
I agree. For common questions like this one (how to do I incorporate an image in my app) a brief example is probably all that most developers will need.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
eseidelGoogle commentedon Jul 15, 2016
@qchong is most informed about our high-level docs. I'm not sure if he authored the assets doc in particular.
HansMuller commentedon Jul 15, 2016
I agree. For common questions like this one (how to do I incorporate an image in my app) a brief example is probably all that most developers will need.
Hixie commentedon May 22, 2018
I believe this is mostly done now.
github-actions commentedon Aug 15, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.