Skip to content

Commit 3017cbc

Browse files
committed
ReadMe
1 parent db1d444 commit 3017cbc

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,13 @@ Widget|Mean|Description
258258
<img src="https://github.com/efoxTeam/flutter-animation-set/raw/master/image/readme/YYWave.png" width="600px">
259259
<br />
260260

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
264264

265265
**2、build animatorSet**
266266

267-
通过上面的图示组装我们的动画组件,只需要控制好Delay的时间即可
267+
Assemble our animation components by the above icon, just need to control the time of Delay
268268

269269
```dart
270270
Widget makeWave(int before, int after) {
@@ -284,11 +284,11 @@ Widget makeWave(int before, int after) {
284284
}
285285
```
286286

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
292292

293293
**3、convert to code**
294294

@@ -321,9 +321,9 @@ class YYWave extends StatelessWidget {
321321

322322
## More
323323

324-
**1、组合动画**
324+
**1、Combination of animation**
325325

326-
> 缩放效果需要同时缩放X、Y轴
326+
> The scaling effect requires scaling both the X and Y axes
327327
328328
```dart
329329
animatorSet: [
@@ -342,9 +342,9 @@ done
342342

343343
<img src="https://github.com/efoxTeam/flutter-animation-set/raw/master/image/gif/7.gif" width="90px">
344344

345-
**2、延时动画**
345+
**2、Time-lapse animations**
346346

347-
对真正做动画的时候处理delay属性
347+
Deal with the delay attribute when you actually do the animation
348348

349349
```dart
350350
class YYThreeLine extends StatelessWidget {
@@ -384,9 +384,9 @@ done
384384

385385
<img src="https://github.com/efoxTeam/flutter-animation-set/raw/master/image/gif/9.gif" width="90px">
386386

387-
**3、倒退动画**
387+
**3、Reverse animation**
388388

389-
动画可以播放完成后,通过animationType属性设置`AnimationType.reverse`,让动画接着倒退播放
389+
After the animation can be played, set `animationtype.reverse` through the animationType property, making the animation play back
390390

391391
```dart
392392
class YYFoldMenu extends StatelessWidget {

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ Widget|Mean|Description
260260

261261
1. 此图表明动画的组成是根据时间线(timeLine)去制作的
262262
2. 如果需要延长时间线,就用Delay组件去拖长时间线,duration属性为延长的时间
263-
3. 如果需要组合各种动画,就用Serial组件去组合动画,Serial的duration属性为组合动画时间
263+
3. 如果需要组合各种动画,就用Serial组件去组合动画,duration属性为组合的时间
264264

265265
**2、build animatorSet**
266266

0 commit comments

Comments
 (0)