Add doc images for ResizeImagePolicy PR#209
Merged
tvolkert merged 1 commit intoflutter:masterfrom Feb 21, 2023
tvolkert:resize_image
Merged
Add doc images for ResizeImagePolicy PR#209tvolkert merged 1 commit intoflutter:masterfrom tvolkert:resize_image
tvolkert merged 1 commit intoflutter:masterfrom
tvolkert:resize_image
Conversation
8 tasks
dnfield
approved these changes
Feb 21, 2023
auto-submit bot
pushed a commit
to flutter/flutter
that referenced
this pull request
Feb 23, 2023
* Add ResizeImage.policy This adds a new `ResizeImage.policy` property that controls how `ResizeImage` will interpret its `width` and `height` properties. The existing behavior is preserved via `ResizeImagePolicy.exact` (default), but there is now the option to use `ResizeImagePolicy.fit`, which satisfies the use case outlined in #118543. The API doc assets were added in flutter/assets-for-api-docs#209 Fixes #118543 * Docuemnt public member * Remove protected annotation from overrides - was failing tests * Fixed analysis of code in Dartdoc * More dartdoc code analysis fixes * One more fix * Review comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
flutter/flutter#118543
Pre-launch Checklist
///).