To implement the page flip animation, we will need the following:
AnimationController
AnimatedBuilder
& AnimatedWidget
We'll also see how to use a GlobalKey
to modify the state of a child widget from the parent widget.
Note: as some of the code for enabling the page flip effect is quite complex, we will implement the basics by hand, then switch over to the page_flip_builder package on pub.dev.
2 comments