Jaime Blasco

format document

@@ -227,8 +227,8 @@ class _ModalBottomSheetState extends State<ModalBottomSheet> @@ -227,8 +227,8 @@ class _ModalBottomSheetState extends State<ModalBottomSheet>
227 227
228 if (_dismissUnderway || !isDragging) return; 228 if (_dismissUnderway || !isDragging) return;
229 isDragging = false; 229 isDragging = false;
230 - // ignore: unawaited_futures  
231 - _bounceDragController.reverse(); 230 + // ignore: unawaited_futures
  231 + _bounceDragController.reverse();
232 232
233 var canClose = true; 233 var canClose = true;
234 if (widget.shouldClose != null && hasReachedWillPopThreshold) { 234 if (widget.shouldClose != null && hasReachedWillPopThreshold) {
@@ -241,7 +241,7 @@ class _ModalBottomSheetState extends State<ModalBottomSheet> @@ -241,7 +241,7 @@ class _ModalBottomSheetState extends State<ModalBottomSheet>
241 _close(); 241 _close();
242 } else if (hasReachedCloseThreshold) { 242 } else if (hasReachedCloseThreshold) {
243 if (widget.animationController.value > 0.0) { 243 if (widget.animationController.value > 0.0) {
244 - // ignore: unawaited_futures 244 + // ignore: unawaited_futures
245 widget.animationController.fling(velocity: -1.0); 245 widget.animationController.fling(velocity: -1.0);
246 } 246 }
247 _close(); 247 _close();