Search packages, repositories and app categories

Package detailsv1.0.2

animated_number

A flutter package to create animated numbers.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
250
Likes
30
Pub points
150

Install package

flutter pub add animated_number

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that enables smooth, animated number transitions for dynamic UIs. It automatically animates changes between integer values, making it ideal for counters, score displays, or any numeric data that updates over time. The package is lightweight and easy to integrate, supporting all major platforms including Android, iOS, Web, macOS, Windows, and Linux. With customizable duration, curve, and formatting options, it enhances user experience by providing visual feedback during value changes.

Use cases

  • Real-time score counters
  • Dynamic statistics displays
  • Progress indicators
  • Animated price updates
  • Countdown timers

Key features

  • Smooth number interpolation
  • Customizable animation duration
  • Support for decimal numbers
  • Flexible formatting options
  • Cross-platform compatibility

Suitable for

  • Gamification apps
  • Dashboard widgets
  • Financial tracking interfaces
  • Educational apps
  • Interactive UI components

Considerations

  • Best suited for integer or decimal values
  • May require additional styling for complex formatting
  • Limited to numeric animations only
  • Not ideal for non-numeric data
  • Performance impact with high-frequency updates

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Animated Number flutter package

This is an custom widget developed for flutter with some awesome features that will make your users more satisfied when they look into their numbers.

Preview

Sample

Getting started

Supported platforms
Android iOS Linux macOS Web Windows
Support SDK 16+ 9.0+ Any 10.11+ Any Any

Usage

To use this plugin, add animated_number as a dependency in your pubspec.yaml file.

Examples
AnimatedNumber(
    startValue: 0,
    endValue: 2000,
    duration: Duration(seconds: 2),
    isFloatingPoint: false,
    style: TextStyle(
    color: Colors.orange,
    fontSize: 24,
    ),
)
AnimatedNumber(
    startValue: 0,
    endValue: 5500.38273626732,
    duration: Duration(seconds: 5),
    isFloatingPoint: true,
    decimalPoint: 4,
    style: TextStyle(
        color: Colors.lightBlue,
        fontSize: 42,
    ),
)

Features

Properties Type Description
startValue num Desired start value.
endValue num Desired end value.
duration Duration Duration for the animation.
isFloatingPoint bool Flag that controls if the iteration of the animation will be integer or floating point.
decimalPoint int Desired decimal points.
style TextStyle? Text style.
textAlign TextAlign? How the text should be aligned horizontally.
prefixText String? Desired prefix text.
sufixText String? Desired sufix text.
Contact
Any questions, issues or improvements feel free to contact me.
yagon2395@gmail.com
License

MIT

Categories

Source repository

Projects using this package

No data available yet.