Skip to content
pubscout

animated_number

1.0.2, released 4 years ago by an unverified publisher

Flutter widget to create animated numbers.

WASM-ready
$ flutter pub add animated_number
Source repository

What it does

Provides an AnimatedNumber widget that smoothly transitions numbers from a start value to an end value over a specified duration. Supports both integer and floating-point values with customizable text styling, prefixes, and suffixes.

AI-written summary of version 1.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to animate a numerical value like a counter or dashboard metric.
  • You want custom text formatting including prefixes, suffixes, and specific decimal points during animation.

Skip it when

  • You need complex physics-based motion or advanced Rive/Lottie animations.
  • You are not using Flutter.

Strengths

  • Simple widget-based API.
  • Supports customizable floating-point decimal precision.
  • Includes styling options like text style, alignment, prefix, and suffix text.

Weaknesses

  • Limited documentation beyond basic properties.
  • No topics specified.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AnimatedNumber(
    startValue: 0,
    endValue: 2000,
    duration: Duration(seconds: 2),
    isFloatingPoint: false,
    style: TextStyle(
    color: Colors.orange,
    fontSize: 24,
    ),
)

Alternatives

Packages that do the same job and could replace animated_number.