diff --git a/package/lib/src/modal/modal_sheet.dart b/package/lib/src/modal/modal_sheet.dart index 7d74805..9d83e0c 100644 --- a/package/lib/src/modal/modal_sheet.dart +++ b/package/lib/src/modal/modal_sheet.dart @@ -358,8 +358,7 @@ class _SwipeDismissibleController with SheetGestureTamperer { invokePop = false; } else if (effectiveVelocity < 0) { // Flings down. - invokePop = - effectiveVelocity.abs() > sensitivity.minFlingVelocity; + invokePop = effectiveVelocity.abs() > sensitivity.minFlingVelocity; } else if (FloatComp.velocity(MediaQuery.devicePixelRatioOf(_context)) .isApprox(effectiveVelocity, 0)) { assert(draggedDistance >= 0);