flutter_redux_navigation icon indicating copy to clipboard operation
flutter_redux_navigation copied to clipboard

Nested Navigation

Open juliusspencer opened this issue 6 years ago • 6 comments

Hi,

I'd like to be able to use flutter_redux_navigation with Nested Navigation.

The Navigator class documentation under Nesting Navigators describes this: https://docs.flutter.io/flutter/widgets/Navigator-class.html

This would help with tabbed navigation where each tab has its own Navigator.

Thank you!

juliusspencer avatar Mar 21 '19 08:03 juliusspencer

I will have to do some testing and get back to you on that.

esarbanis avatar Mar 21 '19 08:03 esarbanis

@juliusspencer it does not support nested Navigators currently, but I do see a way around it.

How about having an isNested flag in NavigateToAction that will require to assign a NavigatorHolder.nestedNavigatorKey to the nested Navigator.

WDYT?

esarbanis avatar Mar 21 '19 11:03 esarbanis

That sounds good @esarbanis. Thank you for taking the time to look into this.

juliusspencer avatar Mar 23 '19 18:03 juliusspencer

@juliusspencer I think I under-estimated the level of involvement this feature has. Although I managed to get it working there is a very tricky part to it, which has to do with navigating using explicitly one of the nested navigators.

I don't want to rush this so that we can get it right. Any thoughts would be more than welcome.

esarbanis avatar Apr 19 '19 09:04 esarbanis

No problem. Thanks for taking the time. I'm not familiar enough with it to make any good recommendations unfortunately.

juliusspencer avatar Apr 21 '19 03:04 juliusspencer

Hey guys! Was this ever solved?

simkepal avatar Jun 21 '20 15:06 simkepal