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.
1 parent 1971812 commit 9e47389Copy full SHA for 9e47389
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