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/editing2/input.dart'; | 5 import 'package:sky/editing2/input.dart'; |
6 import 'package:sky/rendering/box.dart'; | |
7 import 'package:sky/rendering/paragraph.dart'; | |
8 import 'package:sky/theme2/colors.dart' as colors; | 6 import 'package:sky/theme2/colors.dart' as colors; |
9 import 'package:sky/theme2/typography.dart' as typography; | 7 import 'package:sky/theme2/typography.dart' as typography; |
10 import 'package:sky/widgets/basic.dart'; | 8 import 'package:sky/widgets/basic.dart'; |
11 import 'package:sky/widgets/drawer.dart'; | 9 import 'package:sky/widgets/drawer.dart'; |
12 import 'package:sky/widgets/drawer_header.dart'; | 10 import 'package:sky/widgets/drawer_header.dart'; |
13 import 'package:sky/widgets/floating_action_button.dart'; | 11 import 'package:sky/widgets/floating_action_button.dart'; |
14 import 'package:sky/widgets/icon.dart'; | 12 import 'package:sky/widgets/icon.dart'; |
15 import 'package:sky/widgets/icon_button.dart'; | 13 import 'package:sky/widgets/icon_button.dart'; |
16 import 'package:sky/widgets/menu_divider.dart'; | 14 import 'package:sky/widgets/menu_divider.dart'; |
17 import 'package:sky/widgets/menu_item.dart'; | 15 import 'package:sky/widgets/menu_item.dart'; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 floatingActionButton: new FloatingActionButton( | 204 floatingActionButton: new FloatingActionButton( |
207 child: new Icon(type: 'content/add_white', size: 24) | 205 child: new Icon(type: 'content/add_white', size: 24) |
208 ), | 206 ), |
209 drawer: _drawerShowing ? buildDrawer() : null | 207 drawer: _drawerShowing ? buildDrawer() : null |
210 ), | 208 ), |
211 ]; | 209 ]; |
212 addMenuToOverlays(overlays); | 210 addMenuToOverlays(overlays); |
213 return new Stack(overlays); | 211 return new Stack(overlays); |
214 } | 212 } |
215 } | 213 } |
OLD | NEW |