Skip to content
pubscout

animated_text_lerp

2.0.0, released 2 years ago by silentcat.dev

Widgets to animate between number or string text values.

WASM-ready
$ flutter pub add animated_text_lerp
Source repository

What it does

Provides simple widgets like AnimatedNumberText and AnimatedStringText that automatically animate when their values change. They support custom curves, durations, text styles, and number formatting.

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

Use it when

  • You need to animate number increases or decreases like currency values.
  • You want to animate text content changes where characters lerp to new values.
  • You want a familiar animated widget experience similar to Flutter's pre-built animated widgets.

Skip it when

  • You require complex particle-based or physics-driven motion graphics like Rive or Lottie.
  • You are animating things other than numbers or text strings.

Strengths

  • Simple API similar to standard Flutter animated widgets.
  • Supports formatting for numbers and currency values.
  • Handles string character lerping natively.

Weaknesses

  • Limited to text and number lerping animations.
  • No topics documented.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AnimatedNumberText(
  value,
  curve: Curves.easeIn,
  duration: const Duration(seconds: 1),
  style: const TextStyle(fontSize: 30),
)

Alternatives

Packages that do the same job and could replace animated_text_lerp.

  • flutter_animate

    Provides a comprehensive, chainable animation system for all kinds of widgets including text effects.

  • lottie

    Better suited for complex vector animations designed by motion designers.