-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Run dart command to update widget defaults #122557
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
Run dart command to update widget defaults #122557
Conversation
| @override | ||
| Color? get dividerColor => ${componentColor("md.comp.primary-navigation-tab.divider")}; | ||
| Color? get dividerColor => _colors.surfaceVariant; |
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.
It's possible the guidelines are wrong, could you please revert this for the time being and file a bug at go/guidelinebug?
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.
I see. Just reverted the token and the template. Also filed a bug here: b/273575840. Thanks!
This PR is to fix following things:
shadowColorinBottomAppBarTemplateis different from the default_BottomAppBarDefaultsM3code. Should both beColor?.The above changes are done by running
dart dev/tools/gen_defaults/bin/gen_defaults.dart.Also the tabs token file removed the divider color, but from the material design website, it should still be ColorScheme.surfaceVariant. So I changed the according field in tabs_template.
Related to #122388 and #121406
Pre-launch Checklist
///).