| 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/curves.dart'; | 5 import '../animation/curves.dart'; |
| 6 import '../animation/generator.dart'; | 6 import '../animation/generators.dart'; |
| 7 import '../fn.dart'; | 7 import '../fn.dart'; |
| 8 import 'dart:async'; | 8 import 'dart:async'; |
| 9 import 'dart:sky' as sky; | 9 import 'dart:sky' as sky; |
| 10 | 10 |
| 11 const double _kSplashSize = 400.0; | 11 const double _kSplashSize = 400.0; |
| 12 const double _kSplashDuration = 500.0; | 12 const double _kSplashDuration = 500.0; |
| 13 | 13 |
| 14 class SplashAnimation { | 14 class SplashAnimation { |
| 15 AnimationGenerator _animation; | 15 AnimationGenerator _animation; |
| 16 double _offsetX; | 16 double _offsetX; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 styles: [_style], | 97 styles: [_style], |
| 98 children: [ | 98 children: [ |
| 99 new Container( | 99 new Container( |
| 100 inlineStyle: _inlineStyle, | 100 inlineStyle: _inlineStyle, |
| 101 styles: [_splashStyle] | 101 styles: [_splashStyle] |
| 102 ) | 102 ) |
| 103 ] | 103 ] |
| 104 ); | 104 ); |
| 105 } | 105 } |
| 106 } | 106 } |
| OLD | NEW |