Called to create the animation controller that will drive the transitions to this route from the previous one, and back to the previous route from this one.
Source
AnimationController createAnimationController() { Duration duration = transitionDuration; assert(duration != null && duration >= Duration.ZERO); return new AnimationController( duration: duration, debugLabel: debugLabel, vsync: navigator, ); }