Beautiful scrolling digital animation Flutter Widget

animated_digit

A scrolling digital animation flutter widget that can be used to display the amount of animation, the number of people online in real-time, Any number that requires animation effects is simple and easy to use, and it can also guarantee the accuracy of the amount of calculation.

Inside the App

animated_digit

Usage

AnimatedDigitController _controller = AnimatedDigitController(520);

AnimatedDigitWidget(
  controller: _controller,
  textStyle: TextStyle(color: Color(0xff009668)),
  fractionDigits: 2,
  enableDigitSplit: true,
)

// increment 
_controller.addValue(1314);

// reset
_controller.resetValue(1314);

API

addValue

AnimatedDigitController _controller = AnimatedDigitController(520);
_controller.addValue(1314); // 1834

resetValue

AnimatedDigitController _controller = AnimatedDigitController(520);
_controller.resetValue(1314); // 1314

GitHub Repository

Source Code: https://github.com/mingsnx/animated_digit

SHARE Beautiful scrolling digital animation Flutter Widget

You may also like...

Leave a Reply

Your email address will not be published.

Share