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