I'm looking for an animation from a GridView Selection to a new Page.
Here is the transmission I like to have:
But I don't know how to make this. I could use a AnimatedContainer for each GridViewItem, but this would not help to "break out" from the Grid during the animation.
Should I use a Stack and a Positioned AnimatedContainer? What is the best attempt here?
CodePudding user response:
Try to use the Hero Widget. In Simple, you'll have to wrap the grid element with the hero widget and pass the tag within the screen.
A Code example is available in the official documentation.