Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
modal_bottom_sheet
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
minnu
2020-09-15 06:01:46 +0530
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-09-15 06:01:46 +0530
Commit
da6d5251179bf7fcd919ed94c418ce5c50b84e0b
da6d5251
1 parent
b27b17f9
forgot to add the dart:io Package in
b27b17f9
commit 馃槄
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
lib/src/bottom_sheet.dart
lib/src/bottom_sheet.dart
View file @
da6d525
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:io'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/gestures.dart'
;
...
...
@@ -307,10 +307,9 @@ class _ModalBottomSheetState extends State<ModalBottomSheet>
?
PointerDeviceKind
.
touch
:
// PCs or desktops or Laptops devices has mouse pointers
(
Platform
.
isLinux
||
Platform
.
isWindows
||
Platform
.
isMacOS
)
?
VelocityTracker
(
PointerDeviceKind
.
mouse
)
?
PointerDeviceKind
.
mouse
:
// Some unknown devices
VelocityTracker
(
PointerDeviceKind
.
unknown
),
);
PointerDeviceKind
.
unknown
);
_startTime
=
DateTime
.
now
();
}
DragUpdateDetails
dragDetails
;
...
...
Please
register
or
login
to post a comment