Skip to content
pubscout

flutter_sequence_animation

4.0.0, released 4 years ago by initstate.dev

Compose multiple animations sequentially using a single controller.

WASM-ready
$ flutter pub add flutter_sequence_animation
Source repository

What it does

Allows developers to define a sequence of animatables with specific durations and tags using a builder. It automatically computes the total animation duration and merges multiple animatables into a single animation per tag without manual interval calculation.

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

Use it when

  • You need to orchestrate complex staggered animations with a single AnimationController
  • You want to avoid manually calculating percentage intervals for sequential animations

Skip it when

  • You need physics-based motion or complex timeline state machines provided by Rive
  • You prefer implicit animations or simple one-off tweens

Strengths

  • Removes the need to calculate manual percentage intervals
  • Uses only a single AnimationController for complex sequences
  • Easy to chain multiple animatables under the same tag

Weaknesses

  • Animations with the same tag cannot overlap and must be ordered
  • Limited documentation beyond the basic README example

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
sequenceAnimation = new SequenceAnimationBuilder()
  .addAnimatable(
      animatable: new ColorTween(begin: Colors.red, end: Colors.yellow),
      from:  const Duration(seconds: 0),
      to: const Duration(seconds: 2),
      tag: "color"
    ).animate(controller);

Alternatives

Packages that do the same job and could replace flutter_sequence_animation.

  • flutter_animate

    Provides a rich, chainable extension-based animation system with many built-in effects.

  • animate_do

    Offers a collection of ready-to-use animations based on animate.css.