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
This page needs the following additional renovations:
Restructure and simplify as user tasks. First section needs to address 'how do I add and use an image in my app?', without talking about rootBundle, DefaultAssetBundle, or even AssetBundle.
Show the basic, most common, default scenario up front.
Then, under "Customization" talk about the complexities of swapping out an asset bundle at run time.
Rewrite and restructure the headings to cue into user tasks. For example, "Adding images to an app", "Optimizing image resolution"
Need to add a code sample of DefaultAssetBundle.of().
Resolution awareness content needs updating. AssetVendor has been removed, but the way rootBundle and DefaultAssetBundle work needs to be described.
Resolution awareness needs to be rewritten from a task perspective, rather than 'this is how the classes are structured".
Love the suggestions in this issue, and looks like none of them hint that we're showing incorrect information. So, we move out to M3. But, if there's wrong info in the doc, let's see if we can address it sooner.
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
LarkAscending commentedon Feb 15, 2017
See @Hixie 's post on 4.
2 remaining items
eseidelGoogle commentedon May 2, 2017
@sethladd will find an owner and assign or punt.
sethladd commentedon May 5, 2017
Love the suggestions in this issue, and looks like none of them hint that we're showing incorrect information. So, we move out to M3. But, if there's wrong info in the doc, let's see if we can address it sooner.
sethladd commentedon May 8, 2017
Related: #9901
sethladd commentedon Jun 1, 2017
From a customer: "how do I use assets from another package?"
Hixie commentedon Dec 12, 2017
@LarkAscending @filiph @Sfshaza Is this something that is on your radar for the new few months? Please update the milestone accordingly.
Sfshaza commentedon May 21, 2018
This PR was merged, and szakarias updated the page. Closing, but open a new bug if further info is wrong or missing.
github-actions commentedon Aug 17, 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.