Skip to content

Commit f786665

Browse files
committed
update version 2.0.0
1 parent 24490de commit f786665

34 files changed

Lines changed: 28349 additions & 27668 deletions

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [2.0.0] - 2020.09.28
2+
3+
* add custom animation style
4+
* add toast postion option [#14](https://github.com/huangjianke/flutter_easyloading/issues/14) [#49](https://github.com/huangjianke/flutter_easyloading/issues/49)
5+
* fixed bugs
6+
17
## [1.3.0] - 2020.09.24
28

39
* fixed bugs

README-zh_CN.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@
66

77
<img src="https://raw.githubusercontent.com/huangjianke/flutter_easyloading/master/images/gif01.gif" width=200 height=429/> <img src="https://raw.githubusercontent.com/huangjianke/flutter_easyloading/master/images/gif02.gif" width=200 height=429/> <img src="https://raw.githubusercontent.com/huangjianke/flutter_easyloading/master/images/gif03.gif" width=200 height=429/> <img src="https://raw.githubusercontent.com/huangjianke/flutter_easyloading/master/images/gif04.gif" width=200 height=429/>
88

9+
## 在线预览
10+
11+
[http://huangjianke.github.io/flutter_easyloading](http://huangjianke.github.io/flutter_easyloading/)
12+
913
## 安装
1014

1115
将以下代码添加到您项目中的 `pubspec.yaml` 文件:
1216

1317
```yaml
1418
dependencies:
15-
flutter_easyloading: ^1.3.0
19+
flutter_easyloading: ^2.0.0
1620
```
1721
1822
## 导入
@@ -74,6 +78,15 @@ EasyLoadingIndicatorType indicatorType;
7478
/// loading的遮罩类型, 默认[EasyLoadingMaskType.none].
7579
EasyLoadingMaskType maskType;
7680
81+
/// toast的位置, 默认 [EasyLoadingToastPosition.center].
82+
EasyLoadingToastPosition toastPosition;
83+
84+
/// 动画类型, 默认 [EasyLoadingAnimationStyle.opacity].
85+
EasyLoadingAnimationStyle animationStyle;
86+
87+
/// 自定义动画, 默认 null.
88+
EasyLoadingAnimation customAnimation;
89+
7790
/// 文本的对齐方式 , 默认[TextAlign.center].
7891
TextAlign textAlign;
7992
@@ -104,6 +117,9 @@ double lineWidth;
104117
/// [showSuccess] [showError] [showInfo]的展示时间, 默认2000ms.
105118
Duration displayDuration;
106119
120+
/// 动画时间, 默认200ms.
121+
Duration animationDuration;
122+
107123
/// 文本的颜色, 仅对[EasyLoadingStyle.custom]有效.
108124
Color textColor;
109125

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ English | [简体中文](./README-zh_CN.md)
66

77
<img src="https://raw.githubusercontent.com/huangjianke/flutter_easyloading/master/images/gif01.gif" width=200 height=429/> <img src="https://raw.githubusercontent.com/huangjianke/flutter_easyloading/master/images/gif02.gif" width=200 height=429/> <img src="https://raw.githubusercontent.com/huangjianke/flutter_easyloading/master/images/gif03.gif" width=200 height=429/> <img src="https://raw.githubusercontent.com/huangjianke/flutter_easyloading/master/images/gif04.gif" width=200 height=429/>
88

9+
## Live Preview
10+
11+
[http://huangjianke.github.io/flutter_easyloading](http://huangjianke.github.io/flutter_easyloading/)
12+
913
## Installing
1014

1115
Add this to your package's `pubspec.yaml` file:
1216

1317
```yaml
1418
dependencies:
15-
flutter_easyloading: ^1.3.0
19+
flutter_easyloading: ^2.0.0
1620
```
1721
1822
## Import
@@ -75,6 +79,15 @@ EasyLoadingIndicatorType indicatorType;
7579
/// loading mask type, default [EasyLoadingMaskType.none].
7680
EasyLoadingMaskType maskType;
7781
82+
/// toast position, default [EasyLoadingToastPosition.center].
83+
EasyLoadingToastPosition toastPosition;
84+
85+
/// loading animationStyle, default [EasyLoadingAnimationStyle.opacity].
86+
EasyLoadingAnimationStyle animationStyle;
87+
88+
/// loading custom animation, default null.
89+
EasyLoadingAnimation customAnimation;
90+
7891
/// textAlign of status, default [TextAlign.center].
7992
TextAlign textAlign;
8093
@@ -105,6 +118,9 @@ double lineWidth;
105118
/// display duration of [showSuccess] [showError] [showInfo], default 2000ms.
106119
Duration displayDuration;
107120
121+
/// animation duration of indicator, default 200ms.
122+
Duration animationDuration;
123+
108124
/// color of loading status, only used for [EasyLoadingStyle.custom].
109125
Color textColor;
110126

docs/flutter_service_worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const CACHE_NAME = 'flutter-app-cache';
33
const RESOURCES = {
44
"index.html": "926cd8008bef60a4e735ba8d18fbac9c",
55
"/": "926cd8008bef60a4e735ba8d18fbac9c",
6-
"main.dart.js": "a6173b1c6213e03603246af6ff840b0e",
6+
"main.dart.js": "8df8aaa175f97924a5259f1658cebe9e",
77
"favicon.png": "5dcef449791fa27946b3d35ad8803796",
88
"icons/Icon-192.png": "ac9a721a12bbc803b44f645561ecb1e1",
99
"icons/Icon-512.png": "96e752610906ba2a93c65f8abe1645f1",

0 commit comments

Comments
 (0)