Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leftToRightJoined: getting childCurrent from generateRoute(...) #50

Open
jimmyff opened this issue Jun 15, 2021 · 2 comments
Open

leftToRightJoined: getting childCurrent from generateRoute(...) #50

jimmyff opened this issue Jun 15, 2021 · 2 comments
Labels
question Further information is requested

Comments

@jimmyff
Copy link

jimmyff commented Jun 15, 2021

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?

@kalismeras61 kalismeras61 added the question Further information is requested label Sep 25, 2021
@VinhNgT
Copy link

VinhNgT commented Feb 15, 2024

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

@VinhNgT
Copy link

VinhNgT commented Feb 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants