Skip to content

Commit b78f8c3

Browse files
committed
fix: Compatible with Flutter 3.7.
1 parent b03f942 commit b78f8c3

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 3.3.0
2+
- fix: Compatible with Flutter 3.7.
3+
14
## 3.2.2+2
25
- fix: The indicator does not retract when the height of the list changes [#618](https://github.com/xuelongqy/flutter_easy_refresh/issues/618).
36

example/pubspec.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: EasyRefresh example.
77
# Both the version and the builder number may be overridden in flutter
88
# build by specifying --build-name and --build-number, respectively.
99
# Read more about versioning at semver.org.
10-
version: 3.2.2+53
10+
version: 3.3.0+54
1111

1212
environment:
1313
sdk: ">=2.17.0 <3.0.0"
@@ -23,7 +23,8 @@ dependencies:
2323

2424
url_launcher: ^6.1.7
2525
flutter_spinkit: ^5.1.0
26-
extended_nested_scroll_view: ^5.1.3
26+
extended_nested_scroll_view:
27+
git: https://github.com/VB10/extended_nested_scroll_view
2728
get: ^4.6.5
2829
convert: ^3.1.1
2930
carousel_slider: ^4.2.1

lib/src/behavior/scroll_behavior.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class ERScrollBehavior extends ScrollBehavior {
1313
}
1414

1515
@override
16-
Widget buildViewportChrome(
17-
BuildContext context, Widget child, AxisDirection axisDirection) {
16+
Widget buildOverscrollIndicator(
17+
BuildContext context, Widget child, ScrollableDetails details) {
1818
return child;
1919
}
2020

lib/src/styles/classic/classic_indicator.dart

+1
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ class _ClassicIndicatorState extends State<_ClassicIndicator>
355355
return widget.textBuilder?.call(context, widget.state, _currentText) ??
356356
Text(
357357
_currentText,
358+
// ignore: deprecated_member_use
358359
style: widget.textStyle ?? Theme.of(context).textTheme.subtitle1,
359360
);
360361
}

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.2.2+2
3+
version: 3.3.0
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)