| 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 '../rendering/flex.dart'; | 5 import '../rendering/flex.dart'; |
| 6 import '../theme2/shadows.dart'; | 6 import '../theme/shadows.dart'; |
| 7 import '../theme2/view_configuration.dart'; | 7 import '../theme/view_configuration.dart'; |
| 8 import 'basic.dart'; | 8 import 'basic.dart'; |
| 9 | 9 |
| 10 class ToolBar extends Component { | 10 class ToolBar extends Component { |
| 11 | 11 |
| 12 ToolBar({ | 12 ToolBar({ |
| 13 String key, | 13 String key, |
| 14 this.left, | 14 this.left, |
| 15 this.center, | 15 this.center, |
| 16 this.right, | 16 this.right, |
| 17 this.backgroundColor | 17 this.backgroundColor |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 ), | 48 ), |
| 49 padding: new EdgeDims.symmetric(horizontal: 8.0), | 49 padding: new EdgeDims.symmetric(horizontal: 8.0), |
| 50 decoration: new BoxDecoration( | 50 decoration: new BoxDecoration( |
| 51 backgroundColor: backgroundColor, | 51 backgroundColor: backgroundColor, |
| 52 boxShadow: shadows[2] | 52 boxShadow: shadows[2] |
| 53 ) | 53 ) |
| 54 ); | 54 ); |
| 55 } | 55 } |
| 56 | 56 |
| 57 } | 57 } |
| OLD | NEW |