-
Notifications
You must be signed in to change notification settings - Fork 28.7k
Deprecate primaryColorBrightness
#93396
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
Deprecate primaryColorBrightness
#93396
Conversation
@HansMuller Can you please review before I write a breaking change doc? Update: not a breaking change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for writing dart fixes for this! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as well.
…127238) ## Description Removes references to `ThemeData.primaryColorBrightness`, deprecated in #93396 and subject to remove now because of our [deprecation policy](https://github.com/flutter/flutter/wiki/Tree-hygiene#deprecations). ## Related PRs - #93396 ## Tests - Removed unneeded tests, removed references.
In line with https://flutter.dev/go/material-theme-system-updates and #91772, deprecates
primaryColorBrightness
. Usages inAppBar
andTextField
are removed.A Dart fix is provided.
This is not a breaking change, per our policy. However, should this causes any issues, the documentation for
primaryColorBrightness
explains alternatives for its former usages.Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.