-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Change useMaterial3 default to true
#127501
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. |
9fec848 to
e4f8fb3
Compare
4b0d640 to
be4e41e
Compare
be4e41e to
4a19115
Compare
4a19115 to
6b1f28e
Compare
6b1f28e to
e21ca8f
Compare
e21ca8f to
f7d75e6
Compare
useMaterial3 default to trueuseMaterial3 default to true
11e1430 to
af56960
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. Changes reported for pull request #127501 at sha af56960c411ba54949a527272e5beea32f4579ee |
I think I forgot to update golden tests🥲. Creating another PR to test that. Will also take a look at the failed tests in web_canvas_tests_2 and web_canvas_tests_3. |
a4dbb77 to
a216dc7
Compare
a216dc7 to
e550566
Compare
a508c98 to
73ae724
Compare
73ae724 to
93a9f11
Compare
## Description This PR fixes two test failures in `basic_test.dart` which surfaced when switching to M3 (see #127501) Those failures are related to M3 typography which sets line height to 1.43. Forcing line height to 1.0 seems reasonable for these particular tests. With this change these two test are successful for both M2 and M3. ## Related Issue fixes #129713 ## Tests Updates 2 tests.
Not for review. This is just a smoke test. Many test failures are expected.
Currently all of the tests in packages/flutter/test are expected to pass except for the tests in packages/flutter/test/material.