| 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 '../animation/animation.dart'; |
| 5 import '../animation/curves.dart'; | 6 import '../animation/curves.dart'; |
| 6 import '../animation/generator.dart'; | |
| 7 import '../fn.dart'; | 7 import '../fn.dart'; |
| 8 import '../theme/colors.dart'; | 8 import '../theme/colors.dart'; |
| 9 import '../theme/shadows.dart'; | 9 import '../theme/shadows.dart'; |
| 10 import 'dart:async'; | 10 import 'dart:async'; |
| 11 import 'dart:math' as math; | 11 import 'dart:math' as math; |
| 12 import 'dart:sky' as sky; | 12 import 'dart:sky' as sky; |
| 13 import 'material.dart'; | 13 import 'material.dart'; |
| 14 | 14 |
| 15 const double _kWidth = 256.0; | 15 const double _kWidth = 256.0; |
| 16 const double _kMinFlingVelocity = 0.4; | 16 const double _kMinFlingVelocity = 0.4; |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 level: level | 163 level: level |
| 164 ); | 164 ); |
| 165 | 165 |
| 166 return new Container( | 166 return new Container( |
| 167 styles: [_style], | 167 styles: [_style], |
| 168 inlineStyle: inlineStyle, | 168 inlineStyle: inlineStyle, |
| 169 children: [ mask, content ] | 169 children: [ mask, content ] |
| 170 ); | 170 ); |
| 171 } | 171 } |
| 172 } | 172 } |
| OLD | NEW |