animated_switcher_plus 1.0.0 copy "animated_switcher_plus: ^1.0.0" to clipboard
animated_switcher_plus: ^1.0.0 copied to clipboard

outdated

Prebuilt transitions for AnimatedSwitcher

Prebuilt transitions for Animated Switcher.

AnimatedSwitcherPlus

Transitions
AnimatedSwitcherFlip.flipX
AnimatedSwitcherFlip.flipY
AnimatedSwitcherZoom.zoomIn
AnimatedSwitcherZoom.zoomOut
AnimatedSwitcherTranslation.left
AnimatedSwitcherTranslation.right
AnimatedSwitcherTranslation.top
AnimatedSwitcherTranslation.bottom

Features #

  • Easily animate between two widget
  • No need to provide first and second child at the same time, compare to similar packages

Installation #

Add this line to your pubspec:

dependencies:  
 animated_switcher_plus: ^1.0.0  

Usage #

AnimatedSwitcherFlip.flipX(  
 duration: const Duration(milliseconds: 1500),
 child: _showFirstChild ?
  const Text('Primary Text', key: ValueKey(0)) :
  const Text('Secondary Text', key: ValueKey(1)),
);  

Note: Change child's key in order to notify AnimatedSwitcher that child has been changed, otherwise transition won't happen.

40
likes
0
points
536
downloads

Publisher

verified publisherappgozar.com

Weekly Downloads

Prebuilt transitions for AnimatedSwitcher

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on animated_switcher_plus