gskinner / gskinner/flutter_animate
Add additional presets
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
Once issue #31 is finalized, it would be nice to add an initial layer of additional presets/variations using the architecture.
While there are unlimited tween behaviors one could think of, some common ones stand out at the top of the list:
(inspired by https://pub.dev/packages/animate_do and https://animate.style/)
```
FadeInUp
FadeInDown
FadeInLeft
FadeInRight
FadeOutUp
FadeOutDown
FadeOutLeft
FadeOutRight
SlideInUp
SlideInDown
SlideInLeft
SlideInRight
SlideOutUp
SlideOutDown
SlideOutLeft
SlideOutRight
FlipInX
FlipInY
FlipOutX
FlipOutY
ZoomIn
ZoomOut
BounceIn
BounceOut
```
Notably, some of these are simple variations of existing effects (`SlideDown` or `ZoomIn`), while others are composed of multiple effects (`FadeInDown`). Ideally the new system supports composition, so `FadeInDown` uses `FadeIn` + `SlideInDown` rather than re-creating their logic.
This issue could be thought of as a first pass at the most obvious presets, and then other presets could be considered in the future. Mostly this can serve as dogfood for issue #31
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.