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 library components_drawer_header; |
| 6 |
5 import '../fn.dart'; | 7 import '../fn.dart'; |
6 import '../layout.dart'; | 8 import '../layout.dart'; |
7 import '../theme/colors.dart'; | 9 import '../theme/colors.dart'; |
8 import '../theme/view_configuration.dart'; | 10 import '../theme/view_configuration.dart'; |
9 | 11 |
10 class DrawerHeader extends Component { | 12 class DrawerHeader extends Component { |
11 static final Style _style = new Style(''' | 13 static final Style _style = new Style(''' |
12 height: ${140 + kStatusBarHeight}px; | 14 height: ${140 + kStatusBarHeight}px; |
13 background-color: ${BlueGrey[50]}; | 15 background-color: ${BlueGrey[50]}; |
14 border-bottom: 1px solid #D1D9E1; | 16 border-bottom: 1px solid #D1D9E1; |
(...skipping 22 matching lines...) Expand all Loading... |
37 ), | 39 ), |
38 new Container( | 40 new Container( |
39 key: 'Label', | 41 key: 'Label', |
40 style: _labelStyle, | 42 style: _labelStyle, |
41 children: children | 43 children: children |
42 ) | 44 ) |
43 ] | 45 ] |
44 ); | 46 ); |
45 } | 47 } |
46 } | 48 } |
OLD | NEW |