| 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 '../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 Loading... |
| 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 } |
| OLD | NEW |