routerOrNull property
The router from the closest AppRouterProvider instance that encloses
this context. May be null if there is no surrounding provider.
Implementation
AppRouter? get routerOrNull => AppRouterProvider.maybeOf(this);
The router from the closest AppRouterProvider instance that encloses
this context. May be null if there is no surrounding provider.
AppRouter? get routerOrNull => AppRouterProvider.maybeOf(this);