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
Jaime Blasco
2020-04-11 11:27:12 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9a346586eaa402bc287f7e33abc989ff4afd54af
9a346586
1 parent
a04686a8
Remove unneeded prints
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
lib/src/bottom_sheet.dart
lib/src/bottom_sheet.dart
View file @
9a34658
...
...
@@ -178,7 +178,6 @@ class _ModalBottomSheetState extends State<ModalBottomSheet>
final
canClose
=
await
shouldClose
();
if
(
canClose
)
{
_close
();
print
(
'close'
);
return
;
}
else
{
_cancelClose
();
...
...
@@ -253,7 +252,6 @@ class _ModalBottomSheetState extends State<ModalBottomSheet>
}
if
(
dragDetails
!=
null
)
{
final
duration
=
_startTime
.
difference
(
DateTime
.
now
());
print
(
duration
);
final
offset
=
Offset
(
0
,
_scrollController
.
offset
);
_velocityTracker
.
addPosition
(
duration
,
offset
);
_handleDragUpdate
(
dragDetails
.
primaryDelta
);
...
...
Please
register
or
login
to post a comment