Index: sky/framework/components/ink_splash.dart |
diff --git a/sky/framework/components/ink_splash.dart b/sky/framework/components/ink_splash.dart |
index a4c0a2587b481c6a98fa75796ef98e3754f20560..b31cc5f9d3bca1076b09a20b6b45fb4a77c58e3b 100644 |
--- a/sky/framework/components/ink_splash.dart |
+++ b/sky/framework/components/ink_splash.dart |
@@ -27,8 +27,11 @@ class SplashAnimation { |
: _offsetX = x - rect.left, |
_offsetY = y - rect.top { |
- _animation = new AnimationGenerator(_kSplashDuration, |
- end: _kSplashSize, curve: easeOut, onDone: onDone); |
+ _animation = new AnimationGenerator( |
+ duration:_kSplashDuration, |
+ end: _kSplashSize, |
+ curve: easeOut, |
+ onDone: onDone); |
_styleChanged = _animation.onTick.map((p) => ''' |
top: ${_offsetY - p/2}px; |