| 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 '../theme/view_configuration.dart'; | 6 import '../theme/view_configuration.dart'; |
| 7 // import 'material.dart'; | 7 // import 'material.dart'; |
| 8 | 8 |
| 9 class ToolBar extends Component { | 9 class ToolBar extends Component { |
| 10 UINode left; | 10 UINode left; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 ]; | 31 ]; |
| 32 | 32 |
| 33 if (right != null) | 33 if (right != null) |
| 34 children.addAll(right); | 34 children.addAll(right); |
| 35 | 35 |
| 36 return new Container( | 36 return new Container( |
| 37 child: new FlexContainer( | 37 child: new FlexContainer( |
| 38 children: children, | 38 children: children, |
| 39 direction: FlexDirection.horizontal | 39 direction: FlexDirection.horizontal |
| 40 ), | 40 ), |
| 41 desiredSize: new Size.fromHeight(56.0), | 41 height: 56.0, |
| 42 padding: new EdgeDims(kStatusBarHeight.toDouble(), 8.0, 0.0, 8.0), | 42 padding: new EdgeDims(kStatusBarHeight.toDouble(), 8.0, 0.0, 8.0), |
| 43 decoration: new BoxDecoration(backgroundColor: backgroundColor) | 43 decoration: new BoxDecoration(backgroundColor: backgroundColor) |
| 44 ); | 44 ); |
| 45 } | 45 } |
| 46 } | 46 } |
| OLD | NEW |