Skip to content
pubscout

floating_text

0.2.0, released 4 years ago by studentmitra.in

Provides a lightweight floating text animation widget for Flutter.

WASM-ready
$ flutter pub add floating_text
Source repository

What it does

The package replaces a regular Text widget with a FloatingText widget that animates the text vertically. It offers customizable styles, repeat options, duration, and a completion callback.

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

Use it when

  • You need a simple floating/animated text effect without writing custom animation code
  • You want a drop‑in replacement for Text with minimal setup

Skip it when

  • Complex multi‑step animations are required
  • You need animation control beyond repeat/count and duration

Strengths

  • Very small code footprint (~100 lines)
  • Highly customizable text styles
  • Easy to drop into existing UI

Weaknesses

  • Limited to floating text effect only
  • No fine‑grained animation timeline control

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
FloatingText(
  text: 'Hello',
  repeat: true,
  duration: Duration(milliseconds: 500),
)

Alternatives

Packages that do the same job and could replace floating_text.

  • shimmer

    Provides a similar visual effect for text without custom animation logic