@@ -258,13 +258,13 @@ Widget|Mean|Description
258
258
<img src =" https://github.com/efoxTeam/flutter-animation-set/raw/master/image/readme/YYWave.png " width =" 600px " >
259
259
<br />
260
260
261
- 1 . 此图表明动画的组成是根据时间线( timeLine)去制作的
262
- 2 . 如果需要延长时间线,就用Delay组件去拖长时间线,duration属性为延长的时间
263
- 3 . 如果需要组合各种动画,就用Serial组件去组合动画,Serial的duration属性为组合动画时间
261
+ 1 . This figure shows that the composition of the animation is made according to the timeLine
262
+ 2 . If you need to extend the time line, use the Delay Widget to extend the line; the duration property is the extended time
263
+ 3 . If you need to combine various animations, use the Serial Widget to do so, the duration property being the time of the composition
264
264
265
265
** 2、build animatorSet**
266
266
267
- 通过上面的图示组装我们的动画组件,只需要控制好Delay的时间即可
267
+ Assemble our animation components by the above icon, just need to control the time of Delay
268
268
269
269
``` dart
270
270
Widget makeWave(int before, int after) {
@@ -284,11 +284,11 @@ Widget makeWave(int before, int after) {
284
284
}
285
285
```
286
286
287
- * from:动画初始值
288
- * to:动画结束值
289
- * duration:动画时间
290
- * delay:真正执行动画的延时
291
- * curve:动画插值器
287
+ * from: Animation initial value
288
+ * to: End of animation value
289
+ * duration: Animation time
290
+ * delay: The delay in actually executing the animation
291
+ * curve: Animation interpolator
292
292
293
293
** 3、convert to code**
294
294
@@ -321,9 +321,9 @@ class YYWave extends StatelessWidget {
321
321
322
322
## More
323
323
324
- ** 1、组合动画 **
324
+ ** 1、Combination of animation **
325
325
326
- > 缩放效果需要同时缩放X、Y轴
326
+ > The scaling effect requires scaling both the X and Y axes
327
327
328
328
``` dart
329
329
animatorSet: [
342
342
343
343
<img src =" https://github.com/efoxTeam/flutter-animation-set/raw/master/image/gif/7.gif " width =" 90px " >
344
344
345
- ** 2、延时动画 **
345
+ ** 2、Time-lapse animations **
346
346
347
- 对真正做动画的时候处理delay属性
347
+ Deal with the delay attribute when you actually do the animation
348
348
349
349
``` dart
350
350
class YYThreeLine extends StatelessWidget {
384
384
385
385
<img src =" https://github.com/efoxTeam/flutter-animation-set/raw/master/image/gif/9.gif " width =" 90px " >
386
386
387
- ** 3、倒退动画 **
387
+ ** 3、Reverse animation **
388
388
389
- 动画可以播放完成后,通过animationType属性设置 ` AnimationType .reverse` ,让动画接着倒退播放
389
+ After the animation can be played, set ` animationtype .reverse` through the animationType property, making the animation play back
390
390
391
391
``` dart
392
392
class YYFoldMenu extends StatelessWidget {
0 commit comments