Commit f7dac616 authored by Ian Hickson's avatar Ian Hickson

Improve _AnimatedEvaluation.toString

...and fix a typo in a setState assert message.
parent 7dc5d5d8
...@@ -43,7 +43,7 @@ class _AnimatedEvaluation<T> extends Animation<T> with AnimationWithParentMixin< ...@@ -43,7 +43,7 @@ class _AnimatedEvaluation<T> extends Animation<T> with AnimationWithParentMixin<
@override @override
String toString() { String toString() {
return '$parent\u27A9$_evaluatable'; return '$parent\u27A9$_evaluatable\u27A9$value';
} }
@override @override
......
...@@ -384,7 +384,7 @@ abstract class State<T extends StatefulWidget> { ...@@ -384,7 +384,7 @@ abstract class State<T extends StatefulWidget> {
assert(() { assert(() {
if (_debugLifecycleState == _StateLifecycle.defunct) { if (_debugLifecycleState == _StateLifecycle.defunct) {
throw new FlutterError( throw new FlutterError(
'setState() called after dipose(): $this\n' 'setState() called after dispose(): $this\n'
'This error happens if you call setState() on State object for a widget that\n' 'This error happens if you call setState() on State object for a widget that\n'
'no longer appears in the widget tree (e.g., whose parent widget no longer\n' 'no longer appears in the widget tree (e.g., whose parent widget no longer\n'
'includes the widget in its build). This error can occur when code calls\n' 'includes the widget in its build). This error can occur when code calls\n'
......
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