-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[file_selector] Remove deprecated primary and onPrimary references from ElevatedButton.styleFrom
#5566
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
primary and onPrimary references from ElevatedButton.styleFromprimary and onPrimary references from ElevatedButton.styleFrom
| ## NEXT | ||
| ## 0.9.3+4 | ||
|
|
||
| * Remove deprecated `primary` and `onPrimary` references from `ElevatedButton.styleFrom`. |
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.
These changes don't need changelog or version entries; they are to non-main example files so fall under the second exemption.
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 a lot for helping review! I just reverted the change for changelog and the version entires!
e6b1a4f to
4bc6a3f
Compare
|
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 or stuartmorgan on the #hackers channel in Chat (don't just cc them here, they won't see it! Use 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. |
|
test-exempt: code refactor with no semantic change |
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
|
There's unfortunately an issue where re-running |
Ah I see. Just re-triggered the tests! Thanks! |
…eferences from `ElevatedButton.styleFrom` (flutter/packages#5566)
flutter/packages@4e7f160...ca16173 2023-12-05 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Bump actions/labeler from 4.3.0 to 5.0.0" (flutter/packages#5579) 2023-12-05 49699333+dependabot[bot]@users.noreply.github.com Bump actions/labeler from 4.3.0 to 5.0.0 (flutter/packages#5568) 2023-12-05 [email protected] [file_selector] Remove deprecated `primary` and `onPrimary` references from `ElevatedButton.styleFrom` (flutter/packages#5566) 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 [email protected],[email protected] 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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This PR is to remove deprecated
primaryandonPrimaryreferences(deprecation PR) fromElevatedButton.styleFrom.primaryshould be replaced withbackgroundColorandonPrimaryshould be replaced withforegroundColor.No new tests needed. Please let me know if I incorrectly handled the CHANGELOG and version change.
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].CHANGELOG.mdto add a description of the change, [following repository CHANGELOG style].///).