-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Migrating styleFrom API to new version. #4540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this cleanup! Just a note of the CHANGELOG wording (which applies to all of them, so it may be easiest to git revert 1fe1ba4a
and then re-run update-release-info
.
packages/file_selector/file_selector_windows/example/lib/open_image_page.dart
Show resolved
Hide resolved
This reverts commit 1fe1ba4.
test-exempt: code refactor with no semantic change |
Thanks for all the suggestions, @stuartmorgan! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@bparrishMines or @tarrinneal could you do the second review here since it's repo-wide?
All looks good to me, if you could manage the changelog conflicts, we can land this. |
I've resolved the conflicts (I just wanted to wait for the second approval to do so in case others showed up in the meantime). |
override to land due to broken test for failures on main |
flutter/packages@ac41376...881c1f5 2023-08-09 engine-flutter-autoroll@skia.org Roll Flutter from 436df69 to f4c25bb (28 revisions) (flutter/packages#4666) 2023-08-09 reidbaker@google.com [url_launcher] Android API 34 support (flutter/packages#4660) 2023-08-08 67326251+Franreno@users.noreply.github.com Migrating styleFrom API to new version. (flutter/packages#4540) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Updates the styleFrom API to use
backgroundColor
andforegroundColor
instead of deprecated methods (primary
,onPrimary
).Fixes #105724
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.