NavigatorObserverOnReplacedCallback typedef
Signature for a function that receives NavigatorObserver.didReplace notifications.
See also:
- NavigatorListenerController.addObserver, where this signature is used.
Implementation
typedef NavigatorObserverOnReplacedCallback = void Function(
Route<dynamic>? route,
Route<dynamic>? previousRoute,
);