router property

AppRouter get router

The router from the closest AppRouterProvider instance that encloses this context.

Implementation

AppRouter get router => AppRouterProvider.of(this);