| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |