Commit ab3b6a6e authored by Ian Hickson's avatar Ian Hickson

toString for Tween and ThemeData

parent cd96855e
......@@ -75,6 +75,8 @@ class Tween<T extends dynamic> extends Animatable<T> {
return end;
return lerp(t);
}
String toString() => '$runtimeType($begin \u2192 $end)';
}
/// An interpolation between two colors.
......
......@@ -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