Skip to content

Change the default forThemeData.useMaterial3 to true - #129724

Merged
HansMuller merged 2 commits into
flutter:masterfrom
HansMuller:test_m3_default_update
Jul 13, 2023
Merged

HansMuller merged 2 commits into
flutter:masterfrom
HansMuller:test_m3_default_update

Conversation

@HansMuller

@HansMuller HansMuller commented Jun 28, 2023 •

Copy link
Copy Markdown
Contributor

Changes the default for ThemeData.useMaterial3 to true.

See #127064

@flutter-dashboard

Copy link
Copy Markdown

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.

@HansMuller
HansMuller force-pushed the test_m3_default_update branch from 3d74d44 to 8ef4eb6 Compare June 30, 2023 16:48
@github-actions github-actions Bot added framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages labels Jun 30, 2023
@HansMuller
HansMuller force-pushed the test_m3_default_update branch from d6c1a28 to 8db954e Compare July 10, 2023 15:48
@HansMuller
HansMuller force-pushed the test_m3_default_update branch from 8db954e to 9f6981d Compare July 11, 2023 18:26
@HansMuller HansMuller changed the title (WIP) Verify that making useMaterial3:true is safe Change the default forThemeData.useMaterial3 to true Jul 12, 2023
@HansMuller
HansMuller requested a review from QuncCccccc July 12, 2023 16:23

@QuncCccccc QuncCccccc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HansMuller
HansMuller merged commit 157660a into flutter:master Jul 13, 2023
@HansMuller
HansMuller deleted the test_m3_default_update branch July 13, 2023 20:06
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 14, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 14, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 14, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 14, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 14, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 14, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 14, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 16, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 17, 2023
@chrisbobbe

Copy link
Copy Markdown
Contributor

I've opened #130761 for updating the doc to reflect this change.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 18, 2023
@gnprice gnprice mentioned this pull request Jul 19, 2023
3 of 7 tasks
auto-submit Bot pushed a commit that referenced this pull request Jul 28, 2023
Force the line height of the TextStyle used in test_step.dart to be 1.0 for all Text widgets.

The test started failing after #129724 landed. Assuming that the vertical layout of the test was tight and that the change in the default font's line height is the source of the problem (see #130732 (comment)).

Fixes #130732
LouiseHsu pushed a commit to LouiseHsu/flutter that referenced this pull request Jul 31, 2023
Changes the default for `ThemeData.useMaterial3` to true.

See flutter#127064
LouiseHsu pushed a commit to LouiseHsu/flutter that referenced this pull request Jul 31, 2023
…r#131301)

Force the line height of the TextStyle used in test_step.dart to be 1.0 for all Text widgets.

The test started failing after flutter#129724 landed. Assuming that the vertical layout of the test was tight and that the change in the default font's line height is the source of the problem (see flutter#130732 (comment)).

Fixes flutter#130732
vashworth pushed a commit to vashworth/flutter that referenced this pull request Aug 2, 2023
…r#131301)

Force the line height of the TextStyle used in test_step.dart to be 1.0 for all Text widgets.

The test started failing after flutter#129724 landed. Assuming that the vertical layout of the test was tight and that the change in the default font's line height is the source of the problem (see flutter#130732 (comment)).

Fixes flutter#130732
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants