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