Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: sky/framework/components/scaffold.dart

Issue 1104233003: [Effen] fix some dart warnings (mostly unused imports) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/framework/components/popup_menu_item.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 '../fn.dart'; 5 import '../fn.dart';
6 import 'action_bar.dart';
7 import 'drawer.dart'; 6 import 'drawer.dart';
8 import 'floating_action_button.dart'; 7 import 'floating_action_button.dart';
9 import 'package:sky/framework/theme/typography.dart' as typography; 8 import 'package:sky/framework/theme/typography.dart' as typography;
10 9
11 class Scaffold extends Component { 10 class Scaffold extends Component {
12 static final Style _style = new Style(''' 11 static final Style _style = new Style('''
13 ${typography.typeface}; 12 ${typography.typeface};
14 ${typography.black.body1};'''); 13 ${typography.black.body1};''');
15 14
16 static final Style _mainStyle = new Style(''' 15 static final Style _mainStyle = new Style('''
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 60
62 if (drawer != null) 61 if (drawer != null)
63 children.add(new StyleNode(drawer, _drawerStyle)); 62 children.add(new StyleNode(drawer, _drawerStyle));
64 63
65 if (overlays != null) 64 if (overlays != null)
66 children.addAll(overlays); 65 children.addAll(overlays);
67 66
68 return new Container(style: _style, children: children); 67 return new Container(style: _style, children: children);
69 } 68 }
70 } 69 }
OLDNEW
« no previous file with comments | « sky/framework/components/popup_menu_item.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698