You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错:Failed assertion: line 3299 pos 14: 'observer.navigator == null': is not true. auto_route文档中描述:使用nested router时,必须每次创建新的observer。是否可以暴露SmartNavigatorObserver出来,让我们直接使用:
Then we pass our observer to the .config(). Important notice that navigatorObservers property is a builder function that returns a list of observes and the reason for that is a navigator observer instance can only be used by a single router, so unless you're using a one single router or you don't want your nested routers to inherit observers make sure navigatorObservers builder always returns fresh observer instances.
The text was updated successfully, but these errors were encountered:
版本信息
描述bug/需求
报错:Failed assertion: line 3299 pos 14: 'observer.navigator == null': is not true.
auto_route文档中描述:使用nested router时,必须每次创建新的observer。是否可以暴露SmartNavigatorObserver出来,让我们直接使用:
The text was updated successfully, but these errors were encountered: