number_flow_flutter 0.1.0 copy "number_flow_flutter: ^0.1.0" to clipboard
number_flow_flutter: ^0.1.0 copied to clipboard

Beautiful animated numbers for Flutter — digit-by-digit rolling transitions with locale-aware formatting, springs, and motion blur.

Changelog #

0.1.0 #

Initial release.

Widgets #

  • NumberFlow — animated, digit-by-digit rolling numbers. Only the digits that change animate; the rest stay put.
  • NumberFlow.scrub — drive the display from a ValueListenable<num> at high frequency (sliders, chart scrubbers) without a rebuild per tick.
  • TimeFlow — animated clocks, countdowns, and stopwatches, with .duration and .dateTime factory constructors.

Formatting #

  • Locale-aware formats via NumberFlowFormat: decimal, currency, percent, compact (1.2K), scientific (1.2×10³), and engineering notation.
  • Correct grouping, sign display, numbering systems, and full RTL support.
  • Prefix/suffix, per-position digit constraints (digits), and tabular figures.

Animation #

  • A front-loaded easing curve by default, or an opt-in iOS-like spring (NumberFlowSpring) with overshoot and velocity hand-off on interrupted rolls.
  • Smooth horizontal reflow and animated box width as the number grows or shrinks; entering digits roll in, exiting digits fade out.
  • Velocity-driven frosted motion blur and horizontal digit squish, with iOS-preset defaults.
  • Continuous (odometer) mode, left-to-right stagger, and configurable wheel spacing.
  • Adaptive top/bottom edge mask.

Accessibility #

  • Exposes a plain-text semantics label of the formatted value.
  • Honors the platform reduce-motion setting.
5
likes
160
points
41
downloads

Documentation

API reference

Publisher

verified publisherbriankariuki.com

Weekly Downloads

Beautiful animated numbers for Flutter — digit-by-digit rolling transitions with locale-aware formatting, springs, and motion blur.

Repository (GitHub)
View/report issues

Topics

#animation #number #counter #text #ui

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on number_flow_flutter