Skip to content

Commit 907c026

Browse files
committed
fix(NestedScrollUtil): add missing await
1 parent b4867c2 commit 907c026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/utils/src/nested_scroll_util.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class NestedScrollUtil {
270270
targetOffset -= offset?.call(targetOffset) ?? 0;
271271
targetOffset += calcResult.targetChildLayoutOffset;
272272
if (duration != null && curve != null) {
273-
outerScrollController.animateTo(
273+
await outerScrollController.animateTo(
274274
targetOffset,
275275
duration: duration,
276276
curve: curve,

0 commit comments

Comments
 (0)