From 896d56ac2cc04cd6b51ad84d1a12cf285763ad25 Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Fri, 23 Aug 2024 22:52:31 +0900 Subject: [PATCH] format --- package/lib/src/modal/modal_sheet.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);