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

Side by Side Diff: sky/sdk/lib/framework/components2/scaffold.dart

Issue 1153223003: [Effen] Point the stocks2 and components2 files at the forked libraries. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
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 '../fn2.dart';
6 import '../layout.dart'; 6 import '../layout2.dart';
7 import 'drawer.dart'; 7 import 'drawer.dart';
8 import 'floating_action_button.dart'; 8 import 'floating_action_button.dart';
9 import 'package:sky/framework/theme/typography.dart' as typography; 9 import '../theme/typography.dart' as typography;
10 10
11 class Scaffold extends Component { 11 class Scaffold extends Component {
12 static final Style _style = new Style(''' 12 static final Style _style = new Style('''
13 ${typography.typeface}; 13 ${typography.typeface};
14 ${typography.black.body1};'''); 14 ${typography.black.body1};''');
15 15
16 static final Style _mainStyle = new Style(''' 16 static final Style _mainStyle = new Style('''
17 height: -webkit-fill-available;'''); 17 height: -webkit-fill-available;''');
18 18
19 static final FlexBoxParentData _contentParentData = new FlexBoxParentData()..f lex = 1; 19 static final FlexBoxParentData _contentParentData = new FlexBoxParentData()..f lex = 1;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 if (drawer != null) 60 if (drawer != null)
61 children.add(new StyleNode(drawer, _drawerStyle)); 61 children.add(new StyleNode(drawer, _drawerStyle));
62 62
63 if (overlays != null) 63 if (overlays != null)
64 children.addAll(overlays); 64 children.addAll(overlays);
65 65
66 return new Container(style: _style, children: children); 66 return new Container(style: _style, children: children);
67 } 67 }
68 } 68 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components2/radio.dart ('k') | sky/sdk/lib/framework/components2/scrollable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698