Skip to content

Commit

Permalink
feat: updated to v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aagarwal1012 committed May 8, 2020
1 parent 20988fe commit 08c87ce
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## 2.0.0
**Breaking Changes**

* Now Liquid Pull to Refresh supports any Widget as its `child` widget.
* Removed `notificationPredicate` and `scrollController` parameters.

**Enhancements**

* New parameter -- `animSpeedFactor` -- Controls the speed of the animation after refresh. Used to fasten the ending animation. [#33](https://github.com/aagarwal1012/Liquid-Pull-To-Refresh/issues/33)

**Issues Fixed**

* Refresh indicator overlays on list view. [#46](https://github.com/aagarwal1012/Liquid-Pull-To-Refresh/issues/46)
* Cannot trigger refresh programmatically using the global key. The method 'show' was called on null. [#37](https://github.com/aagarwal1012/Liquid-Pull-To-Refresh/issues/37)

## 1.2.0
* Now Liquid Pull to Refresh supports **any Widget** as its `child` widget.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Add this to your package's `pubspec.yaml` file:

```yaml
dependencies:
liquid_pull_to_refresh: ^1.2.0
liquid_pull_to_refresh: ^2.0.0
```
### 2. Install it
Expand Down Expand Up @@ -123,7 +123,7 @@ If you do not want the opacity transition of child then set `showChildOpacityTra
| showChildOpacityTransition | bool | Whether to show child opacity transition or not. | true |
| color | Color | The progress indicator's foreground color. | ThemeData.accentColor |
| backgroundColor | Color | The progress indicator's background color. | ThemeData.canvasColor |
| animSpeedFactor | double | Controls the speed of the animation after refresh. Used to hasten the ending animation. | 1.0 |
| animSpeedFactor | double | Controls the speed of the animation after refresh. Used to fasten the ending animation. | 1.0 |

For help on editing package code, view the [flutter documentation](https://flutter.io/developing-packages/).

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: liquid_pull_to_refresh
description: A beautiful and custom refresh indicator with some cool animations and transitions for flutter.
version: 1.2.0
version: 2.0.0
author: Ayush Agarwal <[email protected]>
homepage: https://github.com/aagarwal1012/Liquid-Pull-To-Refresh/

Expand Down

0 comments on commit 08c87ce

Please sign in to comment.