File tree Expand file tree Collapse file tree 5 files changed +14
-12
lines changed Expand file tree Collapse file tree 5 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1+ ## [ 2.2.2] - 2020.12.28
2+
3+ * fixed [ #77 ] ( https://github.com/kokohuang/flutter_easyloading/issues/77 )
4+
15## [ 2.2.1] - 2020.11.30
26
37* fixed bugs
Original file line number Diff line number Diff line change 1616
1717``` yaml
1818dependencies :
19- flutter_easyloading : ^2.2.1
19+ flutter_easyloading : ^2.2.2
2020` ` `
2121
2222## 导入
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Add this to your package's `pubspec.yaml` file:
1616
1717``` yaml
1818dependencies :
19- flutter_easyloading : ^2.2.1
19+ flutter_easyloading : ^2.2.2
2020` ` `
2121
2222## Import
Original file line number Diff line number Diff line change 11PODS:
22 - Flutter (1.0.0)
3- - flutter_boost (0.0.2):
4- - Flutter
53
64DEPENDENCIES:
75 - Flutter (from `Flutter`)
8- - flutter_boost (from `.symlinks/plugins/flutter_boost/ios`)
96
107EXTERNAL SOURCES:
118 Flutter:
129 :path: Flutter
13- flutter_boost:
14- :path: ".symlinks/plugins/flutter_boost/ios"
1510
1611SPEC CHECKSUMS:
1712 Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
18- flutter_boost: a7cfa776b75329d5e7d101d0cd33e75042bcde69
1913
2014PODFILE CHECKSUM: f32fb4e7c14f8b3ca19a369d7be425dd9241af27
2115
Original file line number Diff line number Diff line change @@ -274,6 +274,14 @@ class EasyLoading {
274274 value >= 0.0 && value <= 1.0 ,
275275 'progress value should be 0.0 ~ 1.0' ,
276276 );
277+
278+ if (_getInstance ().loadingStyle == EasyLoadingStyle .custom) {
279+ assert (
280+ _getInstance ().progressColor != null ,
281+ 'while loading style is custom, progressColor should not be null' ,
282+ );
283+ }
284+
277285 if (_getInstance ().w == null || _getInstance ().progressKey == null ) {
278286 if (_getInstance ().key != null ) await dismiss (animation: false );
279287 GlobalKey <EasyLoadingProgressState > _progressKey =
@@ -435,10 +443,6 @@ class EasyLoading {
435443 indicatorColor != null ,
436444 'while loading style is custom, indicatorColor should not be null' ,
437445 );
438- assert (
439- progressColor != null ,
440- 'while loading style is custom, progressColor should not be null' ,
441- );
442446 assert (
443447 textColor != null ,
444448 'while loading style is custom, textColor should not be null' ,
You can’t perform that action at this time.
0 commit comments