Skip to content
pubscout

number_flow_flutter

0.1.0, released 4 months ago by briankariuki.com

Digit-by-digit animated rolling numbers and clocks with locale formatting and physics springs.

WASM-ready
$ flutter pub add number_flow_flutter
Source repository

What it does

Provides NumberFlow and TimeFlow widgets that animate numerical values and time display with odometer-style digit rolling. It supports locale-aware formatting, spring physics, velocity-based motion blur, and high-frequency scrubbing.

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

Use it when

  • You need animated counters, currency amounts, or statistics that roll digit-by-digit.
  • You are building a stopwatch, countdown timer, or wall clock with smooth digit transitions.
  • You need to drive number displays at high frequency from a slider or chart scrubber.

Skip it when

  • You only need standard static text displays without any numerical rolling animations.
  • You require a complete physics game engine.

Strengths

  • Only animates digits that actually change.
  • Supports complex formatting including currency, percent, compact, and scientific notation.
  • Includes built-in accessibility semantics and respects reduced-motion preferences.

Weaknesses

  • Limited to specific number flow and time flow display scenarios.
  • Depends on the intl package for formatting rules.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
NumberFlow(value: 1234)

Alternatives

Packages that do the same job and could replace number_flow_flutter.

  • flutter_animate

    Choose flutter_animate if you need a general-purpose animation library for fade, slide, and scale effects on any widget.

Works with

Packages commonly used together with number_flow_flutter: ones it builds on, ones built on it, and its own family.