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

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

Issue 971183002: Initial commit of Effen reactive framework experiment for Sky (Closed) Base URL: https://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 Style _style = new Style('''
8 display: flex;
9 align-items: center;
10 height: 84px;
11 z-index: 1;
12 background-color: #3F51B5;
13 color: white;
14 box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);'''
15 );
16
17 Toolbar({String key, this.children}) : super(key: key);
18
19 Node render() {
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