| 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/rendering/box.dart'; | |
| 6 import 'package:sky/widgets/basic.dart'; | 5 import 'package:sky/widgets/basic.dart'; |
| 7 import 'package:sky/widgets/navigator.dart'; | 6 import 'package:sky/widgets/navigator.dart'; |
| 8 import 'package:sky/widgets/widget.dart'; | 7 import 'package:sky/widgets/widget.dart'; |
| 9 | 8 |
| 10 import 'stock_home.dart'; | 9 import 'stock_home.dart'; |
| 11 import 'stock_settings.dart'; | 10 import 'stock_settings.dart'; |
| 12 | 11 |
| 13 class StocksApp extends App { | 12 class StocksApp extends App { |
| 14 | 13 |
| 15 NavigationState _navState = new NavigationState([ | 14 NavigationState _navState = new NavigationState([ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 34 } | 33 } |
| 35 | 34 |
| 36 void main() { | 35 void main() { |
| 37 print("starting stocks app!"); | 36 print("starting stocks app!"); |
| 38 runApp(new StocksApp()); | 37 runApp(new StocksApp()); |
| 39 WidgetAppView.appView.onFrame = () { | 38 WidgetAppView.appView.onFrame = () { |
| 40 // uncomment this for debugging: | 39 // uncomment this for debugging: |
| 41 // WidgetAppView.appView.debugDumpRenderTree(); | 40 // WidgetAppView.appView.debugDumpRenderTree(); |
| 42 }; | 41 }; |
| 43 } | 42 } |
| OLD | NEW |