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

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

Issue 980953002: stocks and stocks-fn should share the stocks data (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/stocks-fn/companylist.dart ('k') | sky/examples/stocks/companylist.sky » ('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 '../data/stocks.dart';
3 import '../fn/lib/fn.dart'; 4 import '../fn/lib/fn.dart';
4 import '../fn/widgets/widgets.dart'; 5 import '../fn/widgets/widgets.dart';
5 import 'dart:collection'; 6 import 'dart:collection';
6 import 'dart:math'; 7 import 'dart:math';
7 import 'dart:sky' as sky; 8 import 'dart:sky' as sky;
8 9
9 part 'companylist.dart';
10 part 'stockarrow.dart'; 10 part 'stockarrow.dart';
11 part 'stocklist.dart'; 11 part 'stocklist.dart';
12 part 'stockrow.dart'; 12 part 'stockrow.dart';
13 13
14 class StocksApp extends App { 14 class StocksApp extends App {
15 15
16 DrawerAnimation _drawerAnimation = new DrawerAnimation(); 16 DrawerAnimation _drawerAnimation = new DrawerAnimation();
17 17
18 static Style _style = new Style(''' 18 static Style _style = new Style('''
19 display: flex; 19 display: flex;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 key: 'Content', 96 key: 'Content',
97 style: _style, 97 style: _style,
98 children: [toolbar, new Stocklist(stocks: oracle.stocks)] 98 children: [toolbar, new Stocklist(stocks: oracle.stocks)]
99 ), 99 ),
100 fab, 100 fab,
101 drawer, 101 drawer,
102 ] 102 ]
103 ); 103 );
104 } 104 }
105 } 105 }
OLDNEW
« no previous file with comments | « sky/examples/stocks-fn/companylist.dart ('k') | sky/examples/stocks/companylist.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698