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

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

Issue 993033003: Move example fn widgets into sky/framework/components (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 | « sky/examples/fn/widgets/radio.dart ('k') | sky/examples/fn/widgets/widgets.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 part of widgets;
2
3 class Toolbar extends Component {
4
5 List<Node> children;
6
7 static final Style _style = new Style('''
8 display: flex;
9 align-items: center;
10 height: 56px;
11 z-index: 1;
12 background-color: ${Purple[500]};
13 color: white;
14 box-shadow: ${Shadow[2]};'''
15 );
16
17 Toolbar({String key, this.children}) : super(key: key);
18
19 Node build() {
20 return new Container(
21 style: _style,
22 children: children
23 );
24 }
25 }
OLDNEW
« no previous file with comments | « sky/examples/fn/widgets/radio.dart ('k') | sky/examples/fn/widgets/widgets.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698