animated_switcher_transitions 1.0.0 animated_switcher_transitions: ^1.0.0 copied to clipboard
Provides a collection of pre-built transition and layout builders for AnimatedSwitcher.
This package provides a collection of pre-built layout and transition builders for AnimatedSwitcher. These transition builders define how widgets are animated when switching between them within the AnimatedSwitcher widget. They offer a variety of visual effects to enhance the user experience and make transitions between widgets more engaging.
Usage #
To read more about classes and other references used by animated_switcher_transitions
, see the API Reference.
AnimatedSwitcher(
duration: const Duration(milliseconds: 500),
switchInCurve: Curves.linear,
switchOutCurve: Curves.linear,
transitionBuilder: AnimatedSwitcherTransitions.flipY,
layoutBuilder: AnimatedSwitcherLayouts.inOut,
child: Text('$counter', key: ValueKey(counter)),
)
Sponsoring #
If this package or any other package I created is helping you, please consider to sponsor me so that I can take time to read the issues, fix bugs, merge pull requests and add features to these packages.