Skip to content

Commit

Permalink
Release 1.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
peng8350 committed Jan 19, 2021
1 parent 84a67a1 commit fc0f752
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.6.4
* fix error crash by deprecated function removed
* add extra ScrollView reference parameter


## 1.6.3
* fix bug:gesture disabled after refresh complete in an error refreshState
* fix problem:Footer hide back suddenly(this cause by the flutter breaking change)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ add this line to pubspec.yaml
```yaml

dependencies:
pull_to_refresh: ^1.6.3
pull_to_refresh: ^1.6.4

```

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
```yaml

dependencies:
pull_to_refresh: ^1.6.13
pull_to_refresh: ^1.6.4

```

Expand Down
8 changes: 5 additions & 3 deletions lib/src/smart_refresher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ class SmartRefresherState extends State<SmartRefresher> {
physics = physics ?? childView.physics;
center = center ?? childView.center;
anchor = anchor ?? childView.anchor;
keyboardDismissBehavior = keyboardDismissBehavior ?? childView.keyboardDismissBehavior;
keyboardDismissBehavior =
keyboardDismissBehavior ?? childView.keyboardDismissBehavior;
restorationId = restorationId ?? childView.restorationId;
clipBehavior = clipBehavior ?? childView.clipBehavior;
scrollController = scrollController ?? childView.controller;
Expand All @@ -430,8 +431,9 @@ class SmartRefresherState extends State<SmartRefresher> {
semanticChildCount: semanticChildCount,
primary: primary,
clipBehavior: clipBehavior ?? Clip.hardEdge,
keyboardDismissBehavior: keyboardDismissBehavior??ScrollViewKeyboardDismissBehavior.manual,
anchor: anchor??0.0,
keyboardDismissBehavior:
keyboardDismissBehavior ?? ScrollViewKeyboardDismissBehavior.manual,
anchor: anchor ?? 0.0,
restorationId: restorationId,
center: center,
physics:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: pull_to_refresh
description: a widget provided to the flutter scroll component drop-down refresh and pull up load.
version: 1.6.3
version: 1.6.4
homepage: https://github.com/peng8350/flutter_pulltorefresh

environment:
Expand Down

0 comments on commit fc0f752

Please sign in to comment.