Skip to content

Commit

Permalink
Release 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
peng8350 committed May 6, 2019
1 parent c7c2b5d commit e09e396
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,8 @@ Notice: This version of the code changes much, Api too
* Add WaterDropIndicator,CustomIndicator
* Make Custom Indicator easily

## 1.3.1
* Add onClick CallBack for LoadIndicator
* Fix enablepullUp or down invalid
* Fix error Loading after 1.3.0 updated

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ If you are Chinese,click here([中文文档](https://github.com/peng8350/flutter
```
dependencies:
pull_to_refresh: ^1.3.0
pull_to_refresh: ^1.3.1
```

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
```
dependencies:
pull_to_refresh: ^1.3.0
pull_to_refresh: ^1.3.1
```

Expand Down
13 changes: 1 addition & 12 deletions example/lib/ui/test/Example3.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ class Example3State extends State<Example3> with TickerProviderStateMixin {
controller: _refreshController,
header: WaterDropHeader(),
footer: ClassicFooter(
autoLoad: false,
onClick: () {
if (_refreshController.footerStatus == LoadStatus.idle)
_refreshController.requestLoading();
Expand All @@ -107,18 +106,8 @@ class Example3State extends State<Example3> with TickerProviderStateMixin {
onOffsetChange: _onOffsetCallback,
onLoading: () {
Future.delayed(const Duration(milliseconds: 2009)).then((val) {
data.add(Container(
color: Color.fromARGB(255, 250, 250, 250),
child: Card(
margin: EdgeInsets.only(
left: 10.0, right: 10.0, top: 5.0, bottom: 5.0),
child: Center(
child: Text('Data '),
),
),
));
setState(() {});
_refreshController.loadComplete();
_refreshController.loadNoData();
});
},
child: ListView.builder(
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.3.0
version: 1.3.1
author: Jpeng <peng8350@gmail.com>
homepage: https://github.com/peng8350/flutter_pulltorefresh

Expand Down

0 comments on commit e09e396

Please sign in to comment.