when managing multiple tabs of the same type in the navigation tree.
In my case, I have n tabs with WebView components where the structure is identical, but only the URL changes. When more than one instance of EmbeddedScreenPageRoute exists, the redirect no longer functions as expected. This seems to be due to the use of Map<String, AutoRoute>{} in the RouteCollection.
I've encountered an issue with the inability to correctly handle the
initial
setting inAutoRoute
or:when managing multiple tabs of the same type in the navigation tree.
In my case, I have
n
tabs with WebView components where the structure is identical, but only the URL changes. When more than one instance ofEmbeddedScreenPageRoute
exists, the redirect no longer functions as expected. This seems to be due to the use ofMap<String, AutoRoute>{}
in theRouteCollection
.Here’s a simplified version of my routing setup:
The paths would look like:
Additionally, I’m using
AutoTabsRouter
to manage the tabs, which is configured as follows:Could you provide guidance on an alternative approach to achieve this behavior? Or would this require a change in the plugin itself?
Thanks in advance!