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 'dart:math' as math; | 5 import 'dart:math' as math; |
6 | 6 |
7 import 'package:sky/rendering/box.dart'; | 7 import 'package:sky/rendering/box.dart'; |
8 import 'package:sky/rendering/flex.dart'; | 8 import 'package:sky/rendering/flex.dart'; |
9 import 'package:sky/theme2/colors.dart'; | 9 import 'package:sky/theme2/colors.dart'; |
10 import 'package:sky/theme2/edges.dart'; | 10 import 'package:sky/theme2/edges.dart'; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 ], | 130 ], |
131 direction: FlexDirection.vertical, | 131 direction: FlexDirection.vertical, |
132 justifyContent: FlexJustifyContent.spaceBetween | 132 justifyContent: FlexJustifyContent.spaceBetween |
133 ) | 133 ) |
134 ) | 134 ) |
135 ); | 135 ); |
136 } | 136 } |
137 } | 137 } |
138 | 138 |
139 void main() { | 139 void main() { |
140 App app = new SectorApp(); | 140 runApp(new SectorApp()); |
141 WidgetAppView.appView.onFrame = () { | 141 WidgetAppView.appView.onFrame = () { |
142 // uncomment this for debugging: | 142 // uncomment this for debugging: |
143 // WidgetAppView.appView.debugDumpRenderTree(); | 143 // WidgetAppView.appView.debugDumpRenderTree(); |
144 }; | 144 }; |
145 } | 145 } |
OLD | NEW |