Skip to content
pubscout

rolling_text

0.1.3, released 5 months ago by luisportal.com

Per-character vertical rolling text and number animation widget.

WASM-ready
$ flutter pub add rolling_text
Source repository

What it does

Provides animated widgets like RollingText and RollingNumber that transition characters and numbers vertically using spring physics. It supports stagger effects, chromatic styling, and built-in loader loops.

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

Use it when

  • You need slot-machine or odometer style number transitions for counters or scores.
  • You want smooth per-character spring animations for text changes.

Skip it when

  • You need complex physics-based full-screen game animations or rigid-body simulations.
  • You are animating huge blocks of body text where per-character rolling would hurt readability.

Strengths

  • Built-in spring physics and zero dependencies.
  • Handles numeric formatting, separators, prefixes, and suffixes automatically.
  • Includes async waiting and progress loop presets.

Weaknesses

  • Limited to vertical character rolling animations.
  • Not intended for layout or structural transitions between distinct screens.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
RollingNumber(
  value: _score,
  style: TextStyle(fontSize: 48, fontWeight: FontWeight.bold),
)

Alternatives

Packages that do the same job and could replace rolling_text.

  • flutter_animate

    If you need a comprehensive general-purpose animation library for fade, slide, scale, and custom effects across any widget rather than just text rolling.