didPush method

  1. @internal
void didPush(
  1. Route? previousRoute
)

Invoked by the RouterComponent when this route is pushed to the top of the navigation stack.

Implementation

@internal
void didPush(Route? previousRoute) {
  _page ??= build()..addToParent(this);
  onPush(previousRoute);
}