Sitelet https://web.archive.org/web/20220401233344/https://github.com/flutter/flutter/pull/100693
Skip to content
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

Minor improvements to ThemeExtension example #100693

Merged
merged 3 commits into from Mar 30, 2022
Merged

Conversation

guidezpl
Copy link
Member

@guidezpl guidezpl commented Mar 24, 2022

Noticed these small errors while writing more examples.

#31522

@guidezpl guidezpl requested a review from darrenaustin Mar 24, 2022
@goderbauer goderbauer added framework f: material design labels Mar 24, 2022
@@ -18,7 +18,7 @@ class MyColors extends ThemeExtension<MyColors> {
final Color? red;

@override
MyColors copyWith({Color? red, Color? blue}) {
MyColors copyWith({Color? blue, Color? red}) {
Copy link
Contributor

@clocksmith clocksmith Mar 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would firstColor and secondColor be more generic for this example?

Copy link
Member Author

@guidezpl guidezpl Mar 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was meant to represent semantic colors, but you're right, I can change to something more meaningful like "caution" and "danger"

@guidezpl guidezpl merged commit 2d89866 into flutter:master Mar 30, 2022
27 of 28 checks passed
@guidezpl guidezpl deleted the small-fixes branch Mar 30, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Mar 31, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Mar 31, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Mar 31, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Mar 31, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this issue Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: material design framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants