| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 import 'package:sky/framework/components2/tool_bar.dart'; | 5 import 'package:sky/framework/components2/tool_bar.dart'; |
| 6 import 'package:sky/framework/components2/drawer.dart'; | 6 import 'package:sky/framework/components2/drawer.dart'; |
| 7 // import 'package:sky/framework/components2/drawer_header.dart'; | 7 // import 'package:sky/framework/components2/drawer_header.dart'; |
| 8 // import 'package:sky/framework/components2/floating_action_button.dart'; | 8 // import 'package:sky/framework/components2/floating_action_button.dart'; |
| 9 // import 'package:sky/framework/components2/icon.dart'; | 9 // import 'package:sky/framework/components2/icon.dart'; |
| 10 import 'package:sky/framework/components2/icon_button.dart'; | 10 import 'package:sky/framework/components2/icon_button.dart'; |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 drawer: _drawerShowing ? buildDrawer() : null | 214 drawer: _drawerShowing ? buildDrawer() : null |
| 215 ), | 215 ), |
| 216 ]; | 216 ]; |
| 217 addMenuToOverlays(overlays); | 217 addMenuToOverlays(overlays); |
| 218 return new StackContainer(children: overlays); | 218 return new StackContainer(children: overlays); |
| 219 } | 219 } |
| 220 } | 220 } |
| 221 | 221 |
| 222 void main() { | 222 void main() { |
| 223 print("starting stocks app!"); | 223 print("starting stocks app!"); |
| 224 new StocksApp(); | 224 App app = new StocksApp(); |
| 225 app.appView.onFrame = () { |
| 226 // uncomment this for debugging: |
| 227 // app.appView.debugDumpRenderTree(); |
| 228 }; |
| 225 } | 229 } |
| OLD | NEW |