didPush method
- @override
override
Called after install when the route is pushed onto the navigator.
The returned value resolves when the push transition is complete.
The didChangeNext and didChangePrevious methods are typically called immediately after this method is called.
Implementation
@override
TickerFuture didPush() {
assert(_controller != null, '$runtimeType.didPush called before calling install() or after calling dispose().');
assert(!_transitionCompleter.isCompleted, 'Cannot reuse a $runtimeType after disposing it.');
_animation.addStatusListener(_handleStatusChanged);
return _controller.forward();
}