-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
[closed] Deprecate toggleableActiveColor
#95870
[closed] Deprecate toggleableActiveColor
#95870
Conversation
This comment has been minimized.
This comment has been minimized.
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!
I believe this requires a (short) migration guide: https://github.com/flutter/flutter/wiki/Tree-hygiene#3-prepare-your-change.
Can you figure out which version to use for the deprecation? The wiki indicates the dev channel but now that it's deprecated, I'm not sure whether master or beta is more appropriate
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f48983a
to
020f85e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
I think the analysis error may be due to a missing period after the version
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Gold has detected about 2 new digest(s) on patchset 22. |
e87fd19
to
4a76a03
Compare
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
@guidezpl Here are the things I did with this PR today
TodoAfter this lands, I will immediately file website PR to update timeline Please let me know if there is anything else needed to land this, thank you! |
I'm working on pre-migrating internal uses so this won't be a breaking change internally, will report back when done |
After some investigation, unfortunately, this won't be able to land without some prerequisite work. Many teams have defined a However, |
@guidezpl These will be separate PRs of course :) |
Just wanted to say @TahaTesser, awesome work on this topic and PR. Looking forward to get this level of clarity and increased theming freedom on these widgets. That This finally solves all those issues in one go, love it! 💙 |
This comment was marked as outdated.
This comment was marked as outdated.
Closing this for #97972 |
toggleableActiveColor
toggleableActiveColor
@TahaTesser, is this definitely landed in 3.7? I'd like to update the breaking changes page. |
Hi @sfshaza2 |
toggleableActiveColor
is used in bunch of widgets wherecolorScheme
is not adopted.This PR deprecates
toggleableActiveColor
and updates all the widgets to use the colorScheme property.toggleableActiveColor
and added changes for dart fix( had to expected colors in the test since Colors.blue[600] (default value of
toggleableActiveColor
is slightly different blue thancolorScheme.secondar
)This is breaking as it would make
toggleableActiveColor
not have any effect on the above widgetsRelated #90317 and #91772
Fixes #93709
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.