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
2022-06-25 14:01:28 +0200
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2022-06-25 14:01:28 +0200
Commit
a63a1d89f152edd45b1fbb179adaade25aaf97a6
a63a1d89
2 parents
6b18665f
8f556500
Merge pull request #239 from jdebecka/chore/format_code
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 @
a63a1d8
...
...
@@ -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 @
a63a1d8
...
...
@@ -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 @
a63a1d8
...
...
@@ -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