这是indexloc提供的服务,不要输入任何密码
Skip to content

Use ColorScheme.primary (not secondary), ExpansionTile expanded color #81241

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

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

HansMuller
Copy link
Contributor

@HansMuller HansMuller commented Apr 26, 2021

ExpansionTile should use ColorScheme.primaryColor by default for expanded titles and icons, as ListTile does.

Applications can override this using ExpansionTile's iconColor and textColor properties: see #78281

Fixes #80968
Tested in (internal Google link) cl/370548778

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Apr 26, 2021
@google-cla google-cla bot added the cla: yes label Apr 26, 2021
@HansMuller HansMuller requested a review from darrenaustin April 26, 2021 22:30
Copy link
Contributor

@darrenaustin darrenaustin left a comment

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 3533321 into flutter:master Apr 27, 2021
@HansMuller HansMuller deleted the expansion_tile_expanded_color branch April 27, 2021 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ListTile and ExpansionTile color scheme
2 participants