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

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

Issue 1161003002: Split layout2.dart into several files (Closed) Base URL: git@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 '../fn2.dart'; 5 import '../fn2.dart';
6 import '../layout2.dart';
7 import '../theme/colors.dart'; 6 import '../theme/colors.dart';
8 import '../theme/view_configuration.dart'; 7 import '../theme/view_configuration.dart';
9 8
10 class DrawerHeader extends Component { 9 class DrawerHeader extends Component {
11 static final Style _style = new Style(''' 10 static final Style _style = new Style('''
12 height: ${140 + kStatusBarHeight}px; 11 height: ${140 + kStatusBarHeight}px;
13 background-color: ${BlueGrey[50]}; 12 background-color: ${BlueGrey[50]};
14 border-bottom: 1px solid #D1D9E1; 13 border-bottom: 1px solid #D1D9E1;
15 padding-bottom: 7px; 14 padding-bottom: 7px;
16 margin-bottom: 8px;''' 15 margin-bottom: 8px;'''
(...skipping 20 matching lines...) Expand all
37 ), 36 ),
38 new Container( 37 new Container(
39 key: 'Label', 38 key: 'Label',
40 style: _labelStyle, 39 style: _labelStyle,
41 children: children 40 children: children
42 ) 41 )
43 ] 42 ]
44 ); 43 );
45 } 44 }
46 } 45 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components2/checkbox.dart ('k') | sky/sdk/lib/framework/components2/ink_splash.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698