animated_number
1.0.2, released 4 years ago by an unverified publisher
Flutter widget to create animated numbers.
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.
- dynamic_background
Creates animated backgrounds and visual elements for Flutter applications.
68Compare - number_flow_flutter
Digit-by-digit animated rolling numbers and clocks with locale formatting and physics springs.
59Compare - mesh
Fast and customizable animated mesh gradients for Flutter applications.
89Compare - animated_icon_button
Flutter package to create custom animated IconButtons based on the native IconButton.
50Compare