onRoute property

Stream<Route<T?>> get onRoute

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

Implementation

Stream<Route<T?>> get onRoute;