Skip to content

Commit fc0f752

Browse files
committed
Release 1.6.4
1 parent 84a67a1 commit fc0f752

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.6.4
2+
* fix error crash by deprecated function removed
3+
* add extra ScrollView reference parameter
4+
5+
16
## 1.6.3
27
* fix bug:gesture disabled after refresh complete in an error refreshState
38
* fix problem:Footer hide back suddenly(this cause by the flutter breaking change)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ add this line to pubspec.yaml
3535
```yaml
3636

3737
dependencies:
38-
pull_to_refresh: ^1.6.3
38+
pull_to_refresh: ^1.6.4
3939

4040
```
4141

README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
```yaml
3636

3737
dependencies:
38-
pull_to_refresh: ^1.6.13
38+
pull_to_refresh: ^1.6.4
3939

4040
```
4141

lib/src/smart_refresher.dart

+5-3
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,8 @@ class SmartRefresherState extends State<SmartRefresher> {
407407
physics = physics ?? childView.physics;
408408
center = center ?? childView.center;
409409
anchor = anchor ?? childView.anchor;
410-
keyboardDismissBehavior = keyboardDismissBehavior ?? childView.keyboardDismissBehavior;
410+
keyboardDismissBehavior =
411+
keyboardDismissBehavior ?? childView.keyboardDismissBehavior;
411412
restorationId = restorationId ?? childView.restorationId;
412413
clipBehavior = clipBehavior ?? childView.clipBehavior;
413414
scrollController = scrollController ?? childView.controller;
@@ -430,8 +431,9 @@ class SmartRefresherState extends State<SmartRefresher> {
430431
semanticChildCount: semanticChildCount,
431432
primary: primary,
432433
clipBehavior: clipBehavior ?? Clip.hardEdge,
433-
keyboardDismissBehavior: keyboardDismissBehavior??ScrollViewKeyboardDismissBehavior.manual,
434-
anchor: anchor??0.0,
434+
keyboardDismissBehavior:
435+
keyboardDismissBehavior ?? ScrollViewKeyboardDismissBehavior.manual,
436+
anchor: anchor ?? 0.0,
435437
restorationId: restorationId,
436438
center: center,
437439
physics:

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pull_to_refresh
22
description: a widget provided to the flutter scroll component drop-down refresh and pull up load.
3-
version: 1.6.3
3+
version: 1.6.4
44
homepage: https://github.com/peng8350/flutter_pulltorefresh
55

66
environment:

0 commit comments

Comments
 (0)