router property

Router<T> get router

Retrieves the Router associated with the current build context.

Implementation

Router<T> get router => Router.of(this);