Skip to content
pubscout

animated_switcher_plus

1.5.1, released 4 months ago by appgozar.com

Prebuilt transitions for AnimatedSwitcher such as flip, zoom, and translation.

WASM-ready
$ flutter pub add animated_switcher_plus
Source repository

What it does

Provides prebuilt transition widgets like blur, flip, zoom, and translation for AnimatedSwitcher. Allows easily animating between two widgets without needing to provide both children simultaneously.

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

Use it when

  • You want to add smooth prebuilt transition animations to AnimatedSwitcher.
  • You need flip, zoom, blur, or translation effects between widgets.

Skip it when

  • You require complex custom physics-based gesture animations.
  • You are not using AnimatedSwitcher.

Strengths

  • No need to provide both the first and second child simultaneously.
  • Includes a wide variety of prebuilt transitions like blur, flipX, flipY, and zoom.

Weaknesses

  • Limited to AnimatedSwitcher use cases.
  • Not documented for complex choreography beyond standard prebuilt transitions.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AnimatedSwitcherPlus.flipX(
 duration: const Duration(milliseconds: 1500),
 child: _showFirstChild ?
  const Text('Primary Text', key: ValueKey(0)) :
  const Text('Secondary Text', key: ValueKey(1)),
);

Alternatives

Packages that do the same job and could replace animated_switcher_plus.