flutter_page_transition
flutter_page_transition copied to clipboard
leftToRightJoined: getting childCurrent from generateRoute(...)
Hi, is there a way to get hold of the current page widget (for childCurrent
) from generateRoute(RouteSettings)
?
If so it would be great to maybe add that to the example in the readme for the package?
I'm having the same question, currently there is no clear way to find childCurrent when using predefined routes. So the transitions that require it won't work with go_router or AutoRoute
Upon further research, I have found that SharedAxisTransition of https://pub.dev/packages/animations can animate both the before and after page/screen without the need to use 'childCurrent'. Maybe we should look at how it is implemented