toString for Tween and ThemeData

This commit is contained in:
Ian Hickson 2016-02-11 22:25:39 -08:00
parent cd96855e50
commit ab3b6a6eec
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -285,5 +285,5 @@ class ThemeData {
);
}
String toString() => '$primaryColor $brightness etc...';
String toString() => '$runtimeType($brightness $primaryColor etc...)';
}