A widget that allows you to animate digits change of any number without compromising number precision and application performance.

Features

  • 60 FPS.
  • Low memory usage.
  • No use of scroll views for scrolling effects.
  • Jank Free

This package depends on Advanced Value Notifier You will need to add this one also as an dependency. To fully utilise this package.

Demo Video

The example app running in iOS

Usage

    OptimisedAnimatedDigit(
      milliseconds: 500,
      valueNotifier: valueNotifier,
      positiveColor: Colors.green,
      negativeColor: Colors.red,
      neutralColor: Colors.black,
      textStyle: const TextStyle(fontSize: 20),
      decimal: const FlutterLogo(),
      digitsSeparator: const Text('\$'),
    ),

More examples are available inside the /example folder.

Additional information

Connect with Author over Linkedin