From 08c87ce34307e65e3788f326b4100e011262af9d Mon Sep 17 00:00:00 2001 From: Ayush Agarwal Date: Fri, 8 May 2020 20:00:47 +0530 Subject: [PATCH] feat: updated to v2.0.0 --- CHANGELOG.md | 15 +++++++++++++++ README.md | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14ef2c7..dff36bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index 3222332..f187959 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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/). diff --git a/pubspec.yaml b/pubspec.yaml index 32ace1d..19ecc2d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 homepage: https://github.com/aagarwal1012/Liquid-Pull-To-Refresh/