| 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 '../theme2/colors.dart'; | 5 import '../theme/colors.dart'; |
| 6 import '../theme2/view_configuration.dart'; | 6 import '../theme/view_configuration.dart'; |
| 7 import 'basic.dart'; | 7 import 'basic.dart'; |
| 8 | 8 |
| 9 class DrawerHeader extends Component { | 9 class DrawerHeader extends Component { |
| 10 | 10 |
| 11 DrawerHeader({ String key, this.children }) : super(key: key); | 11 DrawerHeader({ String key, this.children }) : super(key: key); |
| 12 | 12 |
| 13 final List<Widget> children; | 13 final List<Widget> children; |
| 14 | 14 |
| 15 Widget build() { | 15 Widget build() { |
| 16 return new Container( | 16 return new Container( |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 new Container( | 31 new Container( |
| 32 padding: const EdgeDims.symmetric(horizontal: 16.0), | 32 padding: const EdgeDims.symmetric(horizontal: 16.0), |
| 33 child: new Flex(children, direction: FlexDirection.horizontal) | 33 child: new Flex(children, direction: FlexDirection.horizontal) |
| 34 )], | 34 )], |
| 35 direction: FlexDirection.vertical | 35 direction: FlexDirection.vertical |
| 36 ) | 36 ) |
| 37 ); | 37 ); |
| 38 } | 38 } |
| 39 | 39 |
| 40 } | 40 } |
| OLD | NEW |