| 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 'package:sky/widgets/theme.dart'; | 5 import 'package:sky/widgets/theme.dart'; |
| 6 | 6 |
| 7 import '../painting/text_style.dart'; | 7 import 'package:sky/painting/text_style.dart'; |
| 8 import '../rendering/flex.dart'; | 8 import 'package:sky/rendering/flex.dart'; |
| 9 import '../theme/shadows.dart'; | 9 import 'package:sky/theme/shadows.dart'; |
| 10 import '../theme/typography.dart' as typography; | 10 import 'package:sky/theme/typography.dart' as typography; |
| 11 import '../theme/view_configuration.dart'; | 11 import 'package:sky/theme/view_configuration.dart'; |
| 12 import 'basic.dart'; | 12 import 'package:sky/widgets/basic.dart'; |
| 13 import 'default_text_style.dart'; | 13 import 'package:sky/widgets/default_text_style.dart'; |
| 14 import 'icon.dart'; | 14 import 'package:sky/widgets/icon.dart'; |
| 15 | 15 |
| 16 class ToolBar extends Component { | 16 class ToolBar extends Component { |
| 17 | 17 |
| 18 ToolBar({ | 18 ToolBar({ |
| 19 String key, | 19 String key, |
| 20 this.left, | 20 this.left, |
| 21 this.center, | 21 this.center, |
| 22 this.right, | 22 this.right, |
| 23 this.backgroundColor | 23 this.backgroundColor |
| 24 }) : super(key: key); | 24 }) : super(key: key); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 boxShadow: shadows[2] | 75 boxShadow: shadows[2] |
| 76 ) | 76 ) |
| 77 ); | 77 ); |
| 78 | 78 |
| 79 if (iconThemeData != null) | 79 if (iconThemeData != null) |
| 80 content = new IconTheme(data: iconThemeData, child: content); | 80 content = new IconTheme(data: iconThemeData, child: content); |
| 81 return content; | 81 return content; |
| 82 } | 82 } |
| 83 | 83 |
| 84 } | 84 } |
| OLD | NEW |