onRouteChanged method

void onRouteChanged(
  1. RouterParam? param
)

A callback whenever momentum_router.MomentumRouter.goto or momentum_router.MomentumRouter.pop is called. The RouterParam is also provided.

Implementation

void onRouteChanged(RouterParam? param) {}