We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1971812 + 9e47389 commit 3857a57Copy full SHA for 3857a57
example/pubspec.lock
@@ -49,7 +49,7 @@ packages:
49
path: ".."
50
relative: true
51
source: path
52
- version: "1.1.0"
+ version: "1.1.1"
53
fake_async:
54
dependency: transitive
55
description:
lib/src/custom_refresh_indicator.dart
@@ -206,7 +206,10 @@ class CustomRefreshIndicatorState extends State<CustomRefreshIndicator>
206
207
if (_canStart) setIndicatorState(IndicatorState.dragging);
208
209
- controller.setAxisDirection(notification.metrics.axisDirection);
+ WidgetsBinding.instance!.addPostFrameCallback((_) {
210
+ controller.setAxisDirection(notification.metrics.axisDirection);
211
+ });
212
+
213
return false;
214
}
215
0 commit comments