Skip to content

Use typography from ThemeData in SnackBar #6522

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
Oct 25, 2016

Conversation

cbracken
Copy link
Member

Eliminates hardcoding of Typography.white in favour of picking up the
platform default typography from ThemeData.

Eliminates hardcoding of Typography.white in favour of picking up the
platform default typography from ThemeData.
brightness: Brightness.dark,
accentColor: theme.accentColor,
accentColorBrightness: theme.accentColorBrightness
);
List<Widget> children = <Widget>[
Copy link
Contributor

Choose a reason for hiding this comment

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

Since you have the Theme here, should we also put the theme into the widget tree? That way the content can get to it?

Copy link
Contributor

Choose a reason for hiding this comment

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

wait, I see you did already. Never mind.

@Hixie
Copy link
Contributor

Hixie commented Oct 25, 2016

LGTM

@cbracken cbracken merged commit ed4ca50 into flutter:master Oct 25, 2016
@cbracken cbracken deleted the snackbar_typography branch October 25, 2016 17:53
GaryQian added a commit that referenced this pull request Oct 15, 2018
* Add support for shadows in text.

* Use dart:ui Shadow as base class for Shadows

* Update lerp definition

* Roll engine 3ffa362..84fe4a9 - Text Shadows and update goldens for skia roll.

git log 50c2e69..32f417d --oneline --no-merges
32f417d Roll tonic to 077be256142ede39a271385907faadf4fcc62a4d. (#6541)
4ee7725 Revert "Roll Dart to 1f4dfce179c8f05c9e48759300a15e671b88cc10 (#6515)" (#6537)
964acaf Roll src/third_party/skia 646d917d3c71..c6a17104ad68 (1 commits) (#6536)
d4bae4c Roll src/third_party/skia 2b2c00f6ec36..646d917d3c71 (1 commits) (#6535)
ff93ccf Roll src/third_party/skia 681692726fc0..2b2c00f6ec36 (1 commits) (#6534)
a4161c8 Roll src/third_party/skia 23775a2e9736..681692726fc0 (1 commits) (#6532)
116072e Roll src/third_party/skia 7435f2553f53..23775a2e9736 (1 commits) (#6531)
ef0b0f6 Roll src/third_party/skia bc7a51e79c5b..7435f2553f53 (1 commits) (#6530)
f46b7b9 Roll src/third_party/skia b28db529c866..bc7a51e79c5b (1 commits) (#6529)
9033c39 Roll src/third_party/skia 7e67041a1428..b28db529c866 (1 commits) (#6528)
e6887a4 Add missing imports for unicode/utf16.h (#6524)
1242f6d Roll src/third_party/skia d38382d060ca..7e67041a1428 (2 commits) (#6527)
a1bbea7 Add a no-op platform view layer. (#6505)
2bb3afa Roll src/third_party/skia 21bd60daa3f3..d38382d060ca (10 commits) (#6526)
75e8752 Fix the Mac embedder build (#6525)
436f970 Add version check for dismissable (#6522)
7767c78 Provide a default GL function resolver in the embedder (#6523)
32841dd Case-insensitive matching of family names for custom fonts (#6519)
a9076c7 Roll src/third_party/skia 419709dbb167..21bd60daa3f3 (11 commits) (#6520)
f2e7441 An API for loading fonts from a buffer provided by the application (#6508)
05aac0f fix ResourceExtractor npe. (#6461)
cf5a2a1 Roll src/third_party/skia b27a9cf2f4a8..419709dbb167 (16 commits) (#6517)
84fe4a9 Re-revert invalid line height tests (#6516)
5f52956 Add support for text shadows (#6385)
e44c10c Reland "Share engine layers with the framework" (#6412) (#6468)
ba04499 Roll Dart to 1f4dfce179c8f05c9e48759300a15e671b88cc10 (#6515)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 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