Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Derive colors demo TextStyle from theme #6632

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
Nov 1, 2016

Conversation

cbracken
Copy link
Member

@cbracken cbracken commented Nov 1, 2016

No description provided.

@@ -79,11 +79,11 @@ class ColorSwatchTabView extends StatelessWidget {
}

final ColorSwatch swatch;
final TextStyle blackTextStyle = Typography.black.body1;
final TextStyle whiteTextStyle = Typography.white.body1;
Copy link
Contributor

Choose a reason for hiding this comment

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

We should consider removing these statics. They seem to be a big footgun.

Copy link
Member Author

Choose a reason for hiding this comment

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

+1! I've actually got a patch coming up right after this one to do just that :)

@abarth
Copy link
Contributor

abarth commented Nov 1, 2016

LGTM

@cbracken cbracken merged commit 58630cc into flutter:master Nov 1, 2016
@cbracken cbracken deleted the colors-demo-typography branch January 24, 2017 03:52
engine-flutter-autoroll pushed a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 23, 2018
 (flutter#23417)

cdd592f Reland 'Pass null instead of 'none' locale' (flutter#6632)
2cd8920 Roll src/third_party/skia b1a002e850e1..327955b1ba19 (12 commits) (flutter#6631)
edfe024 13771 - iOS dictation bug (flutter#6607)
cadf440 Roll src/third_party/skia b9998cdceec7..b1a002e850e1 (13 commits) (flutter#6626)
Xavjer pushed a commit to Xavjer/flutter that referenced this pull request Oct 24, 2018
 (flutter#23417)

cdd592f Reland 'Pass null instead of 'none' locale' (flutter#6632)
2cd8920 Roll src/third_party/skia b1a002e850e1..327955b1ba19 (12 commits) (flutter#6631)
edfe024 13771 - iOS dictation bug (flutter#6607)
cadf440 Roll src/third_party/skia b9998cdceec7..b1a002e850e1 (13 commits) (flutter#6626)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants