Skip to content

Conversation

@andrewkolos
Copy link
Contributor

Fixes #8452, updating the Adding assets and images page.

Because the idea of asset variants is limited to resolution-aware image assets, this PR deletes the outdated Asset variants section and moves the relevant information to the documentation of resolution-aware image assets.

Other things this PR does:

  • Moves information about the resolution-aware image asset feature to be after the more fundamental information about how to load an image.
  • Renames the "Declaring resolution-aware image assets" section to "Resolution-aware image assets".
  • Adds a subsection to this, called "Bundling of resolution-aware image assets". This is to provide the information that the Asset variants section provided. A subsection was chosen to match the existing scheme of the Asset images in package dependencies section.

Presubmit checklist

@andrewkolos andrewkolos force-pushed the update-asset-variants branch from 32f6953 to b482605 Compare May 19, 2023 20:49
Copy link
Contributor

@atsansone atsansone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the semantic breaks and shorten some sentences for readability.

@atsansone atsansone added the review.await-update Awaiting Updates after Edits label May 22, 2023
Copy link
Contributor

@atsansone atsansone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@atsansone atsansone added review.tech Awaiting Technical Review and removed review.await-update Awaiting Updates after Edits labels Jun 2, 2023
Copy link
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Thanks, @andrewkolos!

@khanhnwin khanhnwin merged commit 43e410f into flutter:main Jun 6, 2023
@khanhnwin
Copy link
Contributor

Thanks @andrewkolos!

@sfshaza2 sfshaza2 removed the review.tech Awaiting Technical Review label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update 'Asset variants' on 'Adding assets and images' page

4 participants