Commit 16ecfeb0 authored by Ian Hickson's avatar Ian Hickson

Merge pull request #1797 from Hixie/toString

toString for Tween and ThemeData
parents 6bb7c0ae ab3b6a6e
...@@ -75,6 +75,8 @@ class Tween<T extends dynamic> extends Animatable<T> { ...@@ -75,6 +75,8 @@ class Tween<T extends dynamic> extends Animatable<T> {
return end; return end;
return lerp(t); return lerp(t);
} }
String toString() => '$runtimeType($begin \u2192 $end)';
} }
/// An interpolation between two colors. /// An interpolation between two colors.
......
...@@ -285,5 +285,5 @@ class ThemeData { ...@@ -285,5 +285,5 @@ class ThemeData {
); );
} }
String toString() => '$primaryColor $brightness etc...'; String toString() => '$runtimeType($brightness $primaryColor etc...)';
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment