createAnimation method

Animation<double> createAnimation ()

Called to create the animation that exposes the current progress of the transition controlled by the animation controller created by createAnimationController().

Implementation

Animation<double> createAnimation() {
  assert(!_transitionCompleter.isCompleted, 'Cannot reuse a $runtimeType after disposing it.');
  assert(_controller != null);
  return _controller.view;
}