controller property Null safety

AnimationController? controller

The animation controller that the route uses to drive the transitions.

The animation itself is exposed by the animation property.

Implementation

@protected
AnimationController? get controller => _controller;