https://github.com/davigmacode/flutter_animated_switcher_transitions
Provides a collection of pre-built transition and layout builders for AnimatedSwitcher.
https://github.com/davigmacode/flutter_animated_switcher_transitions
Last synced: 4 months ago
JSON representation
Provides a collection of pre-built transition and layout builders for AnimatedSwitcher.
- Host: GitHub
- URL: https://github.com/davigmacode/flutter_animated_switcher_transitions
- Owner: davigmacode
- License: bsd-3-clause
- Created: 2024-04-05T16:43:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-05T16:55:53.000Z (about 1 year ago)
- Last Synced: 2025-01-21T14:21:35.221Z (5 months ago)
- Language: Dart
- Homepage: https://pub.dev/packages/animated_switcher_transitions
- Size: 580 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://pub.dev/packages/animated_switcher_transitions)  [](https://www.buymeacoffee.com/davigmacode) [](https://ko-fi.com/davigmacode)
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.
[](https://davigmacode.github.io/flutter_animated_switcher_transitions)
[Demo](https://davigmacode.github.io/flutter_animated_switcher_transitions)
## Usage
To read more about classes and other references used by `animated_switcher_transitions`, see the [API Reference](https://pub.dev/documentation/animated_switcher_transitions/latest/).
```dart
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.