auto_route_library
auto_route_library copied to clipboard
navigating to different stackrouter child
More of a question than an issue:
imagine having a routing setup like this:
![image](https://user-images.githubusercontent.com/67225314/179984004-1d1c14be-4600-493b-b124-ebc42df21dce.png)
from inside child 2
I'm trying to go to and open child 1
with messing up the routing stack.
if I just use pushNamed
it will bring me to the correct tab and open child 1
but popping that route drops you back to child 2
I want to just go to the first TabRouter
page and open child 1
in its stackRouter
switching to the page by using AutoTabsRouter.of(context).setActiveIndex(0)
gets me to the right tab leaving the stackRouter
stacks intact, then how to I push child 1
onto the first stackRouter
stack from inside child 2