Showing
1 changed file
with
0 additions
and
2 deletions
| @@ -178,7 +178,6 @@ class _ModalBottomSheetState extends State<ModalBottomSheet> | @@ -178,7 +178,6 @@ class _ModalBottomSheetState extends State<ModalBottomSheet> | ||
| 178 | final canClose = await shouldClose(); | 178 | final canClose = await shouldClose(); |
| 179 | if (canClose) { | 179 | if (canClose) { |
| 180 | _close(); | 180 | _close(); |
| 181 | - print('close'); | ||
| 182 | return; | 181 | return; |
| 183 | } else { | 182 | } else { |
| 184 | _cancelClose(); | 183 | _cancelClose(); |
| @@ -253,7 +252,6 @@ class _ModalBottomSheetState extends State<ModalBottomSheet> | @@ -253,7 +252,6 @@ class _ModalBottomSheetState extends State<ModalBottomSheet> | ||
| 253 | } | 252 | } |
| 254 | if (dragDetails != null) { | 253 | if (dragDetails != null) { |
| 255 | final duration = _startTime.difference(DateTime.now()); | 254 | final duration = _startTime.difference(DateTime.now()); |
| 256 | - print(duration); | ||
| 257 | final offset = Offset(0, _scrollController.offset); | 255 | final offset = Offset(0, _scrollController.offset); |
| 258 | _velocityTracker.addPosition(duration, offset); | 256 | _velocityTracker.addPosition(duration, offset); |
| 259 | _handleDragUpdate(dragDetails.primaryDelta); | 257 | _handleDragUpdate(dragDetails.primaryDelta); |
-
Please register or login to post a comment