Skip to content
pubscout

transitioned_indexed_stack

1.0.2, released 4 years ago by gwhyyy.com

Animated IndexedStack widgets offering fade, scale, slide, size‑factor, rotation, diagonal and shake transitions.

WASM-ready
$ flutter pub add transitioned_indexed_stack
Source repository

What it does

The package provides drop‑in replacements for Flutter's IndexedStack with built‑in animations. Each widget mirrors the IndexedStack API and adds properties to control the animation parameters.

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

Use it when

  • You need animated transitions between IndexedStack children without writing custom animation code.
  • You want a simple, declarative widget that works like IndexedStack but with built‑in effects.

Skip it when

  • You require custom animations beyond the provided presets.
  • You need heavy performance optimisation for large widget trees.
  • You are looking for a full navigation or state‑management solution.

Strengths

  • Easy drop‑in replacement for IndexedStack
  • Multiple ready‑made animation types
  • Same API as the standard widget
  • No extra dependencies

Weaknesses

  • Limited to the predefined animation styles
  • Less fine‑grained control over animation curves and timing
  • Package appears minimally maintained

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
FadeIndexedStack(
  beginOpacity: 0.0,
  endOpacity: 1.0,
  curve: Curves.easeInOut,
  duration: const Duration(milliseconds: 250),
  index: 1,
  children: const <Widget>[
    Center(child: Text('Child 1')),
    Center(child: Text('Child 2')),
  ],
);

Alternatives

Packages that do the same job and could replace transitioned_indexed_stack.