| 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 '../base/lerp.dart'; | |
| 6 import '../animation/animated_value.dart'; | 5 import '../animation/animated_value.dart'; |
| 7 import '../painting/box_painter.dart'; | 6 import '../painting/box_painter.dart'; |
| 8 import '../theme/edges.dart'; | 7 import '../theme/edges.dart'; |
| 9 import '../theme/shadows.dart'; | 8 import '../theme/shadows.dart'; |
| 10 import 'animated_component.dart'; | 9 import 'animated_component.dart'; |
| 11 import 'basic.dart'; | 10 import 'basic.dart'; |
| 12 import 'default_text_style.dart'; | 11 import 'default_text_style.dart'; |
| 13 import 'theme.dart'; | 12 import 'theme.dart'; |
| 14 | 13 |
| 15 export '../theme/edges.dart' show MaterialEdge; | 14 export '../theme/edges.dart' show MaterialEdge; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 boxShadow: _computeShadow(level.value), | 66 boxShadow: _computeShadow(level.value), |
| 68 borderRadius: edges[edge], | 67 borderRadius: edges[edge], |
| 69 backgroundColor: color, | 68 backgroundColor: color, |
| 70 shape: edge == MaterialEdge.circle ? Shape.circle : Shape.rectangle | 69 shape: edge == MaterialEdge.circle ? Shape.circle : Shape.rectangle |
| 71 ), | 70 ), |
| 72 child: new DefaultTextStyle(style: Theme.of(this).text.body1, child: child
) | 71 child: new DefaultTextStyle(style: Theme.of(this).text.body1, child: child
) |
| 73 ); | 72 ); |
| 74 } | 73 } |
| 75 | 74 |
| 76 } | 75 } |
| OLD | NEW |