onRouteChanging property
(void Function(String path, Map<String, String> args, {String matchedRoute})?)
onRouteChanging
final
A callback whenever route changes. A PathStackRouteChangingNotification
is also dispatched.
Implementation
final void Function(String path, Map<String, String> args, {String matchedRoute})? onRouteChanging;