Chris
Chris

Reputation: 2274

Flutter animate page counter text

I am trying to implement this animation:

animation

I tried RotateAnimatedText but I couldn't make it work, because I only want to animate if the currentPageIndex of my pageView changes. I couldn't find any way to do this.

Does anyone know how to achieve this kind of animation? Let me know if you need any more info!

Upvotes: 1

Views: 253

Answers (1)

rrttrr
rrttrr

Reputation: 1846

You can try this package, it will help you to create counter animation/number flip animation.

https://pub.dev/packages/animated_flip_counter

https://pub.dev/packages/animated_flip_counter

enter image description here

Upvotes: 2

Related Questions