-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
[Material] RaisedButton text does not default to ColorScheme.onPrimary #22745
Comments
How is this not expected? Doesn't onPrimary mean white or black depending on the |
Oh OK, seems like I need to take a closer look at Color Schemes again |
Any progress on this? #38646 needs this to be fixed, since AlertDialogs no longer respect normal theming, and rely solely on ColorSchemes now. |
Any update on this ? |
is there a way to track the changes made in the framework regarding the colorScheme ? |
@willlarche, @Levi-Lesches, @bitsydarel - it's been a long time since this issue was opened and I apologize for the lack of activity. If you're still interested in the topic, there's a wide-ranging proposal for updating the button widgets and their themes in #54776. The new proposal does bind the default button colors to the overall theme's ColorSchme, per the Material Design spec. I'm going to close this issue in favor of #54776. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Function
getTextColor
inButtonThemeData
on the caseButtonTextTheme.normal
returns black or white. Material Guidelines expectonPrimary
since the fill color isprimary
.Details: Make backwards compatible with existing behavior.
The text was updated successfully, but these errors were encountered: