使用 go router 在 flutter 中实现持久导航栏和多个导航堆栈
我需要帮助来弄清楚如何使用 go router 使用多个导航堆栈? 我需要一个持久的底部导航栏,并且在底部栏的每个页面内我需要使用 go router 的不同导航堆栈。
I need help to figure out how to use multiple navigation stacks using go router?
I need a persistent bottom nav bar, and inside every page of the bottom bar I need a different navigation stack using go router.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能会有所帮助:
https://github.com/flutter/packages/pull/2650#pullrequestreview- 1144551916
目前我正在写这篇评论,已经支持嵌套导航,但是如果切换选项卡,内部导航器将无法维护其状态。
This might be helpful:
https://github.com/flutter/packages/pull/2650#pullrequestreview-1144551916
At the moment I'm writing this comment, nested navigation is already supported but if you switch tabs, inner navigators are not maintaining their state.