Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: sky/examples/fn/widgets/toolbar.dart

Issue 995133002: Fix toolbar height to match Material Design. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of widgets; 1 part of widgets;
2 2
3 class Toolbar extends Component { 3 class Toolbar extends Component {
4 4
5 List<Node> children; 5 List<Node> children;
6 6
7 static final Style _style = new Style(''' 7 static final Style _style = new Style('''
8 display: flex; 8 display: flex;
9 align-items: center; 9 align-items: center;
10 height: 84px; 10 height: 56px;
11 z-index: 1; 11 z-index: 1;
12 background-color: ${Purple[500]}; 12 background-color: ${Purple[500]};
13 color: white; 13 color: white;
14 box-shadow: ${Shadow[2]};''' 14 box-shadow: ${Shadow[2]};'''
15 ); 15 );
16 16
17 Toolbar({String key, this.children}) : super(key: key); 17 Toolbar({String key, this.children}) : super(key: key);
18 18
19 Node build() { 19 Node build() {
20 return new Container( 20 return new Container(
21 style: _style, 21 style: _style,
22 children: children 22 children: children
23 ); 23 );
24 } 24 }
25 } 25 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698