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
Julia Debecka
2022-04-27 14:50:25 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8f556500fc39b1edd4a3b2f3646118cc9e99f9d2
8f556500
1 parent
6b18665f
chore: format code
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
lib/src/bottom_sheet.dart
lib/src/bottom_sheet_route.dart
lib/src/material_with_modal_page_route.dart
lib/src/bottom_sheet.dart
View file @
8f55650
...
...
@@ -45,7 +45,7 @@ class ModalBottomSheet extends StatefulWidget {
required
this
.
expanded
,
required
this
.
onClosing
,
required
this
.
child
,
})
:
super
(
key:
key
);
})
:
super
(
key:
key
);
/// The closeProgressThreshold parameter
/// specifies when the bottom sheet will be dismissed when user drags it.
...
...
lib/src/bottom_sheet_route.dart
View file @
8f55650
...
...
@@ -16,7 +16,7 @@ class _ModalBottomSheet<T> extends StatefulWidget {
this
.
expanded
=
false
,
this
.
enableDrag
=
true
,
this
.
animationCurve
,
})
:
super
(
key:
key
);
})
:
super
(
key:
key
);
final
double
?
closeProgressThreshold
;
final
ModalBottomSheetRoute
<
T
>
route
;
...
...
@@ -138,7 +138,7 @@ class ModalBottomSheetRoute<T> extends PopupRoute<T> {
this
.
animationCurve
,
this
.
duration
,
RouteSettings
?
settings
,
})
:
super
(
settings:
settings
);
})
:
super
(
settings:
settings
);
final
double
?
closeProgressThreshold
;
final
WidgetWithChildBuilder
?
containerBuilder
;
...
...
lib/src/material_with_modal_page_route.dart
View file @
8f55650
...
...
@@ -14,7 +14,7 @@ class MaterialWithModalsPageRoute<T> extends MaterialPageRoute<T> {
RouteSettings
?
settings
,
bool
maintainState
=
true
,
bool
fullscreenDialog
=
false
,
})
:
super
(
})
:
super
(
settings:
settings
,
fullscreenDialog:
fullscreenDialog
,
builder:
builder
,
...
...
Please
register
or
login
to post a comment