Migrate ListTile TextTheme TextStyle references to Material 3#101900
Migrate ListTile TextTheme TextStyle references to Material 3#101900HansMuller merged 1 commit intoflutter:masterfrom
ListTile TextTheme TextStyle references to Material 3#101900Conversation
ListTile to Material 3ListTile TextTheme TextStyle references to Material 3
HansMuller
left a comment
There was a problem hiding this comment.
I've changed the title of this PR to narrow its scope. In a separate PR we could change the defaults for the ListTile.iconColor - when ThemeData.useMaterial3 = true - to match the Material 3 spec. That means that the default would be based on the theme's color scheme, not IconTheme. We're not trying to simplify making all of the icons in an app have the same color, but we don't want the defaults to be correct for each component type, per the spec.
b9ba2c9 to
3c44cc7
Compare
3c44cc7 to
3866272
Compare
|
This caused some internal test failures (Google internal link b/229707952). Most of them seem inconsequential, but there were a few cases where the a font became noticeably smaller. I'm going to revert this until we can track down the source of those failures (maybe a conditional useMaterial3 is needed somewhere). |
|
I think this is caused by this line: Earlier today I was looking into this new issue #102121 and I realized flutter/packages/flutter/lib/src/material/text_theme.dart Lines 262 to 266 in 078deb9 |
|
After revert is completed, I can file reland PR to match the proper font, which is |
This sounds great until we're sure M3 fonts are working as expected. |
|
While relanding, I can see |
This reverts commit 9f0bcfb.
|
Was there a way to disable the default InkWell/ Splash behavior considered? |
Updates ListTile [TextTheme] text style references to the Material 3 style names.
Fixes #102075
Part of: #91605 (fixes #89853)
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.