Skip to content
pubscout

springster

1.0.2, released 12 months ago by whynotmake.it

Spring animations and physics simulations simplified for Flutter.

WASM-ready
$ flutter pub add springster
Source repository

What it does

Provides builders, draggable widgets, and simulation controllers for 1D and 2D spring-based animations and physics in Flutter. Offers preset spring configurations like bouncy, snappy, and interactive.

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

Use it when

  • You want spring-based animations with natural physics and customizable bounce or duration.
  • You need widgets that can be dragged and return to their origin with a spring animation.
  • You need low-level spring simulation controllers similar to AnimationController.

Skip it when

  • You want the next-generation package Motor, which supersedes Springster with a unified motion API.
  • You require complex multi-dimensional animations with independent physics per dimension (use Motor instead).

Strengths

  • Simple declarative widgets like SpringBuilder and SpringBuilder2D.
  • Includes 2D spring animations and SpringDraggable out of the box.
  • Multiple predefined spring configurations (bouncy, snappy, instant, etc.).

Weaknesses

  • Deprecated in favor of the newer Motor package.
  • Limited to spring physics and basic simulation controllers.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
SpringBuilder(
  spring: Spring.bouncy,
  value: targetValue,
  builder: (context, value, child) {
    return Container(
      width: value,
      height: value,
      color: Colors.blue,
    );
  },
)

Alternatives

Packages that do the same job and could replace springster.

  • lottie

    If you need complex vector animations exported from After Effects.

  • flutter_animate

    If you prefer a comprehensive chained animation extension syntax over physics-based springs.

  • rive

    If you require interactive state-machine driven vector graphics.

Works with

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