| Index: sky/sdk/lib/animation/animation_performance.dart
|
| diff --git a/sky/sdk/lib/animation/animation_performance.dart b/sky/sdk/lib/animation/animation_performance.dart
|
| index 8d8efac0d4e571171662dee346af1ac4799ca954..b857ee957efe4413bf11901f537ed5bfeb9f8348 100644
|
| --- a/sky/sdk/lib/animation/animation_performance.dart
|
| +++ b/sky/sdk/lib/animation/animation_performance.dart
|
| @@ -7,10 +7,11 @@ import 'package:sky/animation/curves.dart';
|
|
|
| abstract class AnimatedVariable {
|
| void setFraction(double t);
|
| + String toString();
|
| }
|
|
|
| class AnimatedType<T extends dynamic> extends AnimatedVariable {
|
| - AnimatedType(this.begin, {this.end, this.curve: linear}) {
|
| + AnimatedType(this.begin, { this.end, this.curve: linear }) {
|
| value = begin;
|
| }
|
|
|
| @@ -25,6 +26,8 @@ class AnimatedType<T extends dynamic> extends AnimatedVariable {
|
| value = begin + (end - begin) * curve.transform(t);
|
| }
|
| }
|
| +
|
| + String toString() => 'AnimatedType(begin=$begin, end=$end, value=$value)';
|
| }
|
|
|
| class AnimatedList extends AnimatedVariable {
|
| @@ -34,6 +37,7 @@ class AnimatedList extends AnimatedVariable {
|
| for (AnimatedVariable variable in variables)
|
| variable.setFraction(t);
|
| }
|
| + String toString() => 'AnimatedList([$variables])';
|
| }
|
|
|
| // This class manages a "performance" - a collection of values that change
|
|
|