-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Fix disabled CupertinoTextField style #32974
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
|
@SimonIT Could you fix the merge conflicts and add tests to this PR, so it can be merged? FWIW, verifying the |
|
I never wrote any test for widgets in flutter, so it might take some time |
|
No worries, thank you for taking this on! Writing widget tests should be fairly straightforward. Or if you prefer I can open a new PR on top of c49ed8b and add tests to it. |
|
That would be very nice if you can do it. For a golden test I have no Linux machine running... Do you want access to my fork? So you can push directly.... |
|
Could you update the content of |
|
Anything else that has to be done to get this merged? |
Description
This PR fixes that a disabled CupertinoTextField has a gray container which overlaps the parent container which his rounded corners.
Before:


After:


(Screenshots from Gallery)
Related Issues
no existing issues
Tests
I added the following tests:
Added a golden test. Thanks to @LongCatIsLooong . The golden file is here: https://github.com/LongCatIsLooong/goldens/blob/dee106cde3112f48ddf236c53a9b602c9f288d71/packages/flutter/test/cupertino/text_field_test.disabled.0.png
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?