debugAnimation property
When asserts are enabled, returns the animation that drives the resizing.
Otherwise, returns null.
This getter is intended for use in framework unit tests. Applications must not depend on its value.
Implementation
@visibleForTesting
CurvedAnimation? get debugAnimation {
CurvedAnimation? animation;
assert(() {
animation = _animation;
return true;
}());
return animation;
}