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
Dendos
2020-08-08 14:00:13 +0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6451442b7a851dd8fc25edaac77a63faf2fb85fd
6451442b
1 parent
ab9e9af8
play with _willPopThreshold
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/src/bottom_sheet.dart
lib/src/bottom_sheet.dart
View file @
6451442
...
...
@@ -19,7 +19,7 @@ const Curve _modalBottomSheetCurve = _decelerateEasing;
const
Duration
_bottomSheetDuration
=
Duration
(
milliseconds:
400
);
const
double
_minFlingVelocity
=
500.0
;
const
double
_closeProgressThreshold
=
0.6
;
const
double
_willPopThreshold
=
0.
8
;
const
double
_willPopThreshold
=
0.
2
;
typedef
ScrollWidgetBuilder
=
Widget
Function
(
BuildContext
context
,
ScrollController
controller
);
...
...
Please
register
or
login
to post a comment