addNavigatorObserver method

dynamic addNavigatorObserver(
  1. NavigatorObserver observer
)

Add a navigator observer.

Implementation

addNavigatorObserver(NavigatorObserver observer) {
  _navigatorObservers.add(observer);
}