void _notify(RouteStatusInfo current)方法
来源:5-12 扩展hi_navigator支持底部tab导航通知

王子威Ktt
2021-08-24
if (current.page is BottomNavigator && _bottomTab != null) {
print("-------------${RankingPage is BottomNavigator}");
current = _bottomTab;
}
这段不是很理解,我传进来的page比如是ProfilePage,那判断下来应该是false
写回答
2回答
-
慕粉214145737
2022-12-02
我现在也碰到这个问题了,怎么弄current.page都不会是BottomNavigator,不知道是哪里出了问题。
012022-12-02 -
CrazyCodeBoy
2021-08-25
ProfilePage包含在底部的BottomNavigator中,可以debug调试下。
022021-08-26
相似问题