From 79fbd37ee3dd4b39cf1e255715f642633646d2cf Mon Sep 17 00:00:00 2001 From: xuelong Date: Fri, 14 Apr 2023 11:25:29 +0800 Subject: [PATCH] fix: fit parameter is invalid (https://github.com/xuelongqy/flutter_easy_refresh/issues/708) --- CHANGELOG.md | 3 ++- lib/src/easy_refresh.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd09f7a..d304f57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ -## Next +## 3.3.1+1 - fix: Increase the priority of ClassicIndicator.pullIconBuilder [#674](https://github.com/xuelongqy/flutter_easy_refresh/issues/674). +- fix: fit parameter is invalid [#708](https://github.com/xuelongqy/flutter_easy_refresh/issues/708). ## 3.3.1 - fix: Avoid an endless loop caused by multiple ListViews nested, Thanks LinXunFeng for [PR#681](https://github.com/xuelongqy/flutter_easy_refresh/pull/681). diff --git a/lib/src/easy_refresh.dart b/lib/src/easy_refresh.dart index 70a2f8e..29fd96d 100644 --- a/lib/src/easy_refresh.dart +++ b/lib/src/easy_refresh.dart @@ -648,7 +648,7 @@ class _EasyRefreshState extends State clipBehavior: widget.clipBehavior, child: Stack( clipBehavior: Clip.none, - fit: StackFit.loose, + fit: widget.fit, children: children, ), ); diff --git a/pubspec.yaml b/pubspec.yaml index 6aae3f8..fefe45d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: easy_refresh description: A flutter widget that provides pull-down refresh and pull-up load. -version: 3.3.1 +version: 3.3.1+1 homepage: https://xuelongqy.github.io/flutter_easy_refresh repository: https://github.com/xuelongqy/flutter_easy_refresh issue_tracker: https://github.com/xuelongqy/flutter_easy_refresh/issues