# flutter-animation-set **Repository Path**: mirrors_efoxTeam/flutter-animation-set ## Basic Information - **Project Name**: flutter-animation-set - **Description**: 🔥🔥🔥 Easy to build an animation set - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-27 - **Last Updated**: 2026-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ✨ Flutter Animation Set [](https://pub.dev/packages/flutter_animation_set) 简化Flutter交错动画。用动画配置的形式,通过时间线去驱动Flutter的交错动画。你可以 1. 使用`Flutter Animation Set`现有的动画组件 2. 使用`Flutter Animation Set`去创建新的动画组件 3. 贡献你的`Flutter Animation Set`动画组件 4. 在项目的example中观看所有的`Curves`动画效果 ## 🎖 Installing ```yaml dependencies: flutter_animation_set: ^0.0.4 ``` ## ⚡ Use Animation Set Widget **1、import** ```dart import 'package:flutter_animation_set/widget/transition_animations.dart'; import 'package:flutter_animation_set/widget/behavior_animations.dart'; ``` **2、use** ```dart child: YYRotatingPlane(), ``` **3、road map** > transition_animations 过渡动画
YYRotatingPlane ✅ |
YYDoubleBounce ✅ |
YYWave ✅ |
YYWanderingCubes ✅ |
YYFadingFour ✅ |
YYFadingCube ✅ |
YYPulse ✅ |
YYThreeBounce ✅ |
YYThreeLine ✅ |
YYCubeGrid ✅ |
YYRotatingCircle ✅ |
YYPumpingHeart ✅ |
YYRipple ✅ |
YYRotateLine ✅ |
YYCubeFadeIn ✅ |
YYBlinkGrid ✅ |
YYFadeButton ✅ |
YYSingleLike ✅ |
YYLove ✅ |
YYSpringMenu ✅ |
YYFoldMenu ✅ |
## More
**1、组合动画**
> 缩放效果需要同时缩放X、Y轴,用到Serial组件
```dart
animatorSet: [
Serial(
duration: 2000,
serialList: [
SX(from: 0.0, to: 1.0, curve: Curves.easeInOut),
SY(from: 0.0, to: 1.0, curve: Curves.easeInOut),
O(from: 0.5, to: 0.0, delay: 1000, curve: Curves.easeInOut),
],
),
],
```
done
**2、延时动画**
对真正做动画的时候处理delay属性
```dart
class YYThreeLine extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
width: 40,
height: 40,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:
**3、倒退动画**
动画可以播放完成后,通过animationType属性设置`AnimationType.reverse`,让动画接着倒退播放
```dart
class YYFoldMenu extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
width: 40,
height: 40,
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children:
## Bugs/Requests
* If your application has problems, please submit your code and effect to Issue.
* Pull request are also welcome.
## Contribution
* Contribute your component, and we'll add it to the animation set
* Or post your animation, if interested, we will help you to achieve
## About
* QQ:510402535
* QQ群:798874340
* e-mail:xyj510402535@qq.com
* g-mail:xyj51042535@gmail.com
* Blog:http://blog.csdn.net/qq_30379689
* Github:https://github.com/AndroidHensen
## License
Apache License 2.0