onRoute property

Stream<Route<T?>> onRoute

Fires whenever the active route changes. Fires null if none is selected (404).

Implementation

Stream<Route<T?>> get onRoute;