Closed PhuCG closed 7 months ago
Hey @PhuCG in your example BookDetailsRoute should be a parent route but BookDetailsPage does not have an AutoRouter widget inside it to render child routes. please refer to this https://pub.dev/packages/auto_route#nested-navigation
Hello ! I have recreated the demo with Inherited params use case but it doesn't seem to work here is how I implemented it, what did I do wrong? Router config:
My flow HomePage -> ListBook -> BookDetail -> BookReview and this is log when i try to review page
context.pushRoute(ReviewRoute());
I have built a small source code to reproduce you can take a look: https://github.com/PhuCG/ParamInheritanceIssues pls help, thank alot.
ENV
Flutter 3.19.3
auto_route 7.9.0
build_runner: ^2.4.8