From 7e935a4883f64c84b0d34b8217aafedea0840a1e Mon Sep 17 00:00:00 2001 From: Serhii Shalamov Date: Thu, 19 Dec 2024 16:43:40 +0100 Subject: [PATCH] fix(SheetPrimaryScrollPosition): ScrollSpringSimulation end point is always 0 --- sheet/lib/src/scroll_controller.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheet/lib/src/scroll_controller.dart b/sheet/lib/src/scroll_controller.dart index de72cd4..8031074 100644 --- a/sheet/lib/src/scroll_controller.dart +++ b/sheet/lib/src/scroll_controller.dart @@ -146,7 +146,7 @@ class SheetPrimaryScrollPosition extends ScrollPositionWithSingleContext { ratio: 1.1, ), pixels, - 0, + pixels > maxScrollExtent ? maxScrollExtent : 0, velocity, ), context.vsync,