| 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 '../theme/view_configuration.dart'; | 5 import 'package:sky/theme/view_configuration.dart'; |
| 6 import 'basic.dart'; | 6 import 'package:sky/widgets/basic.dart'; |
| 7 import 'default_text_style.dart'; | 7 import 'package:sky/widgets/default_text_style.dart'; |
| 8 import 'theme.dart'; | 8 import 'package:sky/widgets/theme.dart'; |
| 9 | 9 |
| 10 // TODO(jackson): This class should usually render the user's | 10 // TODO(jackson): This class should usually render the user's |
| 11 // preferred banner image rather than a solid background | 11 // preferred banner image rather than a solid background |
| 12 | 12 |
| 13 class DrawerHeader extends Component { | 13 class DrawerHeader extends Component { |
| 14 | 14 |
| 15 DrawerHeader({ String key, this.children }) : super(key: key); | 15 DrawerHeader({ String key, this.children }) : super(key: key); |
| 16 | 16 |
| 17 final List<Widget> children; | 17 final List<Widget> children; |
| 18 | 18 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 38 style: Theme.of(this).text.body2, | 38 style: Theme.of(this).text.body2, |
| 39 child: new Flex(children, direction: FlexDirection.horizontal) | 39 child: new Flex(children, direction: FlexDirection.horizontal) |
| 40 ) | 40 ) |
| 41 )], | 41 )], |
| 42 direction: FlexDirection.vertical | 42 direction: FlexDirection.vertical |
| 43 ) | 43 ) |
| 44 ); | 44 ); |
| 45 } | 45 } |
| 46 | 46 |
| 47 } | 47 } |
| OLD | NEW |