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

Side by Side Diff: sky/examples/stocks-fn/stocksapp.dart

Issue 992033002: Change the name of Component.render to Component.build in Effen (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: README 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/stocks-fn/stockrow.dart ('k') | sky/framework/fn.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library stocksapp; 1 library stocksapp;
2 2
3 import '../../framework/fn.dart'; 3 import '../../framework/fn.dart';
4 import '../data/stocks.dart'; 4 import '../data/stocks.dart';
5 import '../fn/widgets/widgets.dart'; 5 import '../fn/widgets/widgets.dart';
6 import 'dart:math'; 6 import 'dart:math';
7 7
8 part 'stockarrow.dart'; 8 part 'stockarrow.dart';
9 part 'stocklist.dart'; 9 part 'stocklist.dart';
10 part 'stockrow.dart'; 10 part 'stockrow.dart';
(...skipping 15 matching lines...) Expand all
26 margin: 0 4px;''' 26 margin: 0 4px;'''
27 ); 27 );
28 28
29 static Style _titleStyle = new Style(''' 29 static Style _titleStyle = new Style('''
30 flex: 1; 30 flex: 1;
31 margin: 0 4px;''' 31 margin: 0 4px;'''
32 ); 32 );
33 33
34 StocksApp() : super(); 34 StocksApp() : super();
35 35
36 Node render() { 36 Node build() {
37 var drawer = new Drawer( 37 var drawer = new Drawer(
38 animation: _drawerAnimation, 38 animation: _drawerAnimation,
39 children: [ 39 children: [
40 new DrawerHeader( 40 new DrawerHeader(
41 children: [new Text('Stocks')] 41 children: [new Text('Stocks')]
42 ), 42 ),
43 new MenuItem( 43 new MenuItem(
44 key: 'Inbox', 44 key: 'Inbox',
45 icon: 'content/inbox', 45 icon: 'content/inbox',
46 children: [new Text('Inbox')] 46 children: [new Text('Inbox')]
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 key: 'Content', 94 key: 'Content',
95 style: _style, 95 style: _style,
96 children: [toolbar, new Stocklist(stocks: oracle.stocks)] 96 children: [toolbar, new Stocklist(stocks: oracle.stocks)]
97 ), 97 ),
98 fab, 98 fab,
99 drawer, 99 drawer,
100 ] 100 ]
101 ); 101 );
102 } 102 }
103 } 103 }
OLDNEW
« no previous file with comments | « sky/examples/stocks-fn/stockrow.dart ('k') | sky/framework/fn.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698