minnu
Committed by GitHub

forgot to add the dart:io Package in b27b17f9 commit 馃槄

@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 - 6 +import 'dart:io';
7 import 'package:flutter/cupertino.dart'; 7 import 'package:flutter/cupertino.dart';
8 import 'package:flutter/foundation.dart'; 8 import 'package:flutter/foundation.dart';
9 import 'package:flutter/gestures.dart'; 9 import 'package:flutter/gestures.dart';
@@ -307,10 +307,9 @@ class _ModalBottomSheetState extends State<ModalBottomSheet> @@ -307,10 +307,9 @@ class _ModalBottomSheetState extends State<ModalBottomSheet>
307 ? PointerDeviceKind.touch 307 ? PointerDeviceKind.touch
308 : // PCs or desktops or Laptops devices has mouse pointers 308 : // PCs or desktops or Laptops devices has mouse pointers
309 (Platform.isLinux || Platform.isWindows || Platform.isMacOS) 309 (Platform.isLinux || Platform.isWindows || Platform.isMacOS)
310 - ? VelocityTracker(PointerDeviceKind.mouse) 310 + ? PointerDeviceKind.mouse
311 : // Some unknown devices 311 : // Some unknown devices
312 - VelocityTracker(PointerDeviceKind.unknown),  
313 - ); 312 + PointerDeviceKind.unknown);
314 _startTime = DateTime.now(); 313 _startTime = DateTime.now();
315 } 314 }
316 DragUpdateDetails dragDetails; 315 DragUpdateDetails dragDetails;