Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k views
in Technique[技术] by (71.8m points)

flutter路由列表获取

a页面=>b页面=>c页面=>d页面,如何获取路由列表[a,b,c,d],
运营在d页面后台配了个链接跳转到b,我需要判断b是否在上级路由列表中,应该如何操作。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

注册路由observer内部维护一个路由表,不知道系统有没提供 如果没有就用上面说的方式做


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...