diff --git a/modal_bottom_sheet/lib/src/bottom_sheet.dart b/modal_bottom_sheet/lib/src/bottom_sheet.dart index 2b609fd..773ea24 100644 --- a/modal_bottom_sheet/lib/src/bottom_sheet.dart +++ b/modal_bottom_sheet/lib/src/bottom_sheet.dart @@ -181,7 +181,6 @@ class ModalBottomSheetState extends State // the height difference between the viewport and the content final closeProgressThreshold = widget.closeProgressThreshold; - // Interpolate the value intop between 1 and the lower bound final value = (widget.animationController.value - _lowerBound) / (1 - _lowerBound); return value < closeProgressThreshold;