NavigatorObserver constructor Null safety

NavigatorObserver()