Skip to content

Commit e1c37fb

Browse files
committed
release: v3.3.1.
1 parent 1650fb8 commit e1c37fb

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

CHANGELOG.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
## Next
1+
## 3.3.1
2+
- fix: Avoid an endless loop caused by multiple ListViews nested, Thanks LinXunFeng for [PR#681](https://github.com/xuelongqy/flutter_easy_refresh/pull/681).
3+
- fix: FooterNotifier.callTask use callRefreshOverOffset, Thanks AWarmHug for [PR#680](https://github.com/xuelongqy/flutter_easy_refresh/pull/680).
24
- fix: NestedScrollView resize error [#666](https://github.com/xuelongqy/flutter_easy_refresh/issues/666).
35

46
## 3.3.0+1
@@ -30,7 +32,7 @@
3032
## 3.2.0
3133
- feat: EasyRefreshController add headerState, footerState [#635](https://github.com/xuelongqy/flutter_easy_refresh/issues/635).
3234
- feat: Add triggerWhenRelease and triggerWhenReleaseNoWait [#593](https://github.com/xuelongqy/flutter_easy_refresh/issues/593).
33-
- fix: Error when using NotLoadFooter with clamping. Thanks Pwuts for [PR#659](https://github.com/xuelongqy/flutter_easy_refresh/issues/659).
35+
- fix: Error when using NotLoadFooter with clamping. Thanks Pwuts for [PR#659](https://github.com/xuelongqy/flutter_easy_refresh/pull/659).
3436
- feat: Add maxOverOffset [#590](https://github.com/xuelongqy/flutter_easy_refresh/issues/590).
3537

3638
## 3.1.0
@@ -42,7 +44,7 @@
4244
## 3.0.5
4345
- fix: [EasyRefreshController.callRefresh] and [EasyRefreshController.callLoad] add force [#633](https://github.com/xuelongqy/flutter_easy_refresh/issues/633) [#642](https://github.com/xuelongqy/flutter_easy_refresh/issues/642). Thanks percival888 for [PR#639](https://github.com/xuelongqy/flutter_easy_refresh/issues/639).
4446
- fix: When the height changes when callTask causes the list not to rebound.
45-
- feat: Add [EasyRefresh.scrollBehaviorBuilder] and [EasyRefresh.defaultScrollBehaviorBuilder]. Thanks laiiihz for [PR#614](https://github.com/xuelongqy/flutter_easy_refresh/issues/614).
47+
- feat: Add [EasyRefresh.scrollBehaviorBuilder] and [EasyRefresh.defaultScrollBehaviorBuilder]. Thanks laiiihz for [PR#614](https://github.com/xuelongqy/flutter_easy_refresh/pull/614).
4648

4749
## 3.0.4+4
4850
- fix: Type 'SpringDescription' not found [#638](https://github.com/xuelongqy/flutter_easy_refresh/issues/638).
@@ -87,8 +89,8 @@
8789
- fix: CupertinoActivityIndicator radius == 0.
8890

8991
## 3.0.1
90-
- fix: Use notifyListeners after ChangeNotifier disposed. Thanks laiiihz for [PR#555](https://github.com/xuelongqy/flutter_easy_refresh/issues/555).
91-
- feat: ClassicHeader、ClassicFooter add IconThemeData. Thanks Lay523 for [PR#562](https://github.com/xuelongqy/flutter_easy_refresh/issues/562).
92+
- fix: Use notifyListeners after ChangeNotifier disposed. Thanks laiiihz for [PR#555](https://github.com/xuelongqy/flutter_easy_refresh/pull/555).
93+
- feat: ClassicHeader、ClassicFooter add IconThemeData. Thanks Lay523 for [PR#562](https://github.com/xuelongqy/flutter_easy_refresh/pull/562).
9294
- feat: ClassicIndicator add [progressIndicatorSize] and [progressIndicatorStrokeWidth].
9395
- feat: Add CupertinoIndicator.
9496
- fix: finishLoad asset [#563](https://github.com/xuelongqy/flutter_easy_refresh/issues/563).

lib/src/physics/scroll_physics.dart

+2-4
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,6 @@ class _ERScrollPhysics extends BouncingScrollPhysics {
436436
@override
437437
Simulation? createBallisticSimulation(
438438
ScrollMetrics position, double velocity) {
439-
// Avoid an endless loop caused by multiple ListViews nested.
440-
if (position.maxScrollExtent == 0) return null;
441-
442439
// User stopped scrolling.
443440
final oldUserOffset = userOffsetNotifier.value;
444441
userOffsetNotifier.value = false;
@@ -467,7 +464,8 @@ class _ERScrollPhysics extends BouncingScrollPhysics {
467464
footerNotifier._mode == IndicatorMode.secondaryOpen);
468465
bool secondary = hSecondary || fSecondary;
469466
if (velocity.abs() >= tolerance.velocity ||
470-
(oldMaxScrollExtent != position.maxScrollExtent) ||
467+
(oldMaxScrollExtent != position.maxScrollExtent &&
468+
position.maxScrollExtent != 0) ||
471469
(position.outOfRange || (secondary && oldUserOffset)) &&
472470
(oldUserOffset ||
473471
_headerSimulationCreationState.value.needCreation(hState) ||

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: easy_refresh
22
description: A flutter widget that provides pull-down refresh and pull-up load.
3-
version: 3.3.0+1
3+
version: 3.3.1
44
homepage: https://xuelongqy.github.io/flutter_easy_refresh
55
repository: https://github.com/xuelongqy/flutter_easy_refresh
66
issue_tracker: https://github.com/xuelongqy/flutter_easy_refresh/issues

0 commit comments

Comments
 (0)