Início / hoomanmmd/animated_switcher_plus
Stars 6
Forks 1
Último push (UTC) 3 de ago. de 2026
Status do projeto Ativo GITHUB User @hoomanmmd
Mobile Application Developer
Linguagens Dart HTML Kotlin
Pacotes publicados por este repositório Dependências usadas Lista de dependências 3 itens flutter {"sdk":"flutter"}flutter_test Desenvolvimento {"sdk":"flutter"}flutter_lints Desenvolvimento ^2.0.1README original Texto original em inglês. Visite o GitHub para a versão atual.
Expandir / recolher README Prebuilt transitions for Animated Switcher such as flip, zoom and translation.
AnimatedSwitcherPlus
Features
Easily animate between two widgets
No need to provide both the first and second child simultaneously, unlike similar packages
Transitions
AnimatedSwitcherPlus.blur
AnimatedSwitcherPlus.flipX
AnimatedSwitcherPlus.flipY
AnimatedSwitcherPlus.zoomIn
AnimatedSwitcherPlus.zoomOut
AnimatedSwitcherPlus.translationLeft
AnimatedSwitcherPlus.translationRight
AnimatedSwitcherPlus.translationTop
AnimatedSwitcherPlus.translationBottom
AnimatedSwitcherPlus.wipeX ( Suitable for same-size widgets )
AnimatedSwitcherPlus.wipeY ( Suitable for same-size widgets )
AnimatedSwitcherPlus.revealX
AnimatedSwitcherPlus.revealY
AnimatedSwitcherPlus.revealCircular
AnimatedSwitcherPlus.wiggleRadial
Usage
AnimatedSwitcherPlus.flipX(
duration: const Duration(milliseconds: 1500),
child: _showFirstChild ?
const Text('Primary Text', key: ValueKey(0)) :
const Text('Secondary Text', key: ValueKey(1)),
);
Note: If you are using the same type of widget, change the child key to notify the AnimatedSwitcher that the child has changed. Otherwise, the transition will not occur