-
Notifications
You must be signed in to change notification settings - Fork 28.5k
fix(ios): correctly inherits the handle color from the theme #166507
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
fix(ios): correctly inherits the handle color from the theme #166507
Conversation
e8453ed
to
8d6ab5c
Compare
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.
Hi @ricardodalarme, thank you for your contribution. I left a comment regarding current guidance around this issue. Let me know what you think.
8d6ab5c
to
205c395
Compare
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.
At first I dismissed this idea as WAI (see #166506 (comment)), but I think this makes sense. It looks like an easy-ish change to get more alignment between Cupertino and Material themes. @MitchellGoodwin do you know if this works with any upcoming ideas for Cupertino and Material theming?
Also note that this could be a breaking change for people that have previously used primaryColor to control the iOS selection handle color. We should see if the Google tests and customer tests pass.
And FYI there are analyzer failures.
This doesn't interfere with anything, and is straightforward enough so I doubt it would cause any extra difficulty when migrating later. |
be240ff
to
42961b4
Compare
c81464f
to
ad3dd85
Compare
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 when the tests are green 👍. I've also triggered the Google tests to run so we'll see how that goes. It looks like the customer tests have passed at least.
9a5f070
to
23a5f45
Compare
Google tests are green thankfully, but other test checks are failing. |
23a5f45
to
aa2e368
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. |
@justinmc I've just fixed the tests, can you check again please? |
Description
If specified, apply the
selectionHandleColor
from the theme to the iOS handle.Related Issue
Minimum reproducible example
Visual Reference
Pre-launch Checklist
///
).