Dendos

play with _willPopThreshold

@@ -19,7 +19,7 @@ const Curve _modalBottomSheetCurve = _decelerateEasing; @@ -19,7 +19,7 @@ const Curve _modalBottomSheetCurve = _decelerateEasing;
19 const Duration _bottomSheetDuration = Duration(milliseconds: 400); 19 const Duration _bottomSheetDuration = Duration(milliseconds: 400);
20 const double _minFlingVelocity = 500.0; 20 const double _minFlingVelocity = 500.0;
21 const double _closeProgressThreshold = 0.6; 21 const double _closeProgressThreshold = 0.6;
22 -const double _willPopThreshold = 0.8; 22 +const double _willPopThreshold = 0.2;
23 23
24 typedef ScrollWidgetBuilder = Widget Function( 24 typedef ScrollWidgetBuilder = Widget Function(
25 BuildContext context, ScrollController controller); 25 BuildContext context, ScrollController controller);