Closed benwinding closed 3 years ago
Thanks for the PR , just one thing i added comment inline.
hey @benwinding is there a way I could 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.
Closes #37
Hi @kalismeras61, This is my implementation, without changing your API. The only thing to note, is that types
leftToRightJoined
andrightToLeftJoined
require another argumentchildCurrent
, which is the current page of the transition. I've put aassert()
warning to help with this.Let me know what you think! Cheers, Ben