onRouteChanged abstract method

void onRouteChanged(
  1. Route? route,
  2. bool isDispose
)

路由改变监听 route 路由对象 isDispose 是否被销毁的路由

Implementation

void onRouteChanged(Route? route, bool isDispose);