I want to achieve the animation effect of routing switching in the video.
Explicitly, The child page switches to the parent page, and both the child page and the parent page move. And, the animation looks like: the parent page is completely removed, and the child page is completely moved in.
I tested the PageRouteBuilder for custom animations, but it only allows subpages to customize the animation, and the parent page does not.
Can you help me?

I want to achieve the animation effect of routing switching in the video.
Explicitly, The child page switches to the parent page, and both the child page and the parent page move. And, the animation looks like: the parent page is completely removed, and the child page is completely moved in.
I tested the PageRouteBuilder for custom animations, but it only allows subpages to customize the animation, and the parent page does not.
Can you help me?