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
Rodinei Fagundes
2020-06-30 10:38:24 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4de4fe193d14f92867392869827487fd0ec87309
4de4fe19
1 parent
b82a0c53
expose route settings on cupertino bottom sheet
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
lib/src/bottom_sheets/cupertino_bottom_sheet.dart
lib/src/bottom_sheets/cupertino_bottom_sheet.dart
View file @
4de4fe1
...
...
@@ -83,6 +83,7 @@ Future<T> showCupertinoModalBottomSheet<T>({
bool
enableDrag
=
true
,
Radius
topRadius
=
_default_top_radius
,
Duration
duration
,
RouteSettings
settings
,
})
async
{
assert
(
context
!=
null
);
assert
(
builder
!=
null
);
...
...
@@ -119,6 +120,7 @@ Future<T> showCupertinoModalBottomSheet<T>({
animationCurve:
animationCurve
,
previousRouteAnimationCurve:
previousRouteAnimationCurve
,
duration:
duration
,
settings:
settings
,
));
return
result
;
}
...
...
@@ -307,6 +309,7 @@ class CupertinoScaffold extends StatefulWidget {
bool
isDismissible
,
bool
enableDrag
=
true
,
Duration
duration
,
RouteSettings
settings
,
})
async
{
assert
(
context
!=
null
);
assert
(
builder
!=
null
);
...
...
@@ -340,6 +343,7 @@ class CupertinoScaffold extends StatefulWidget {
animationCurve:
animationCurve
,
previousRouteAnimationCurve:
previousRouteAnimationCurve
,
duration:
duration
,
settings:
settings
,
));
return
result
;
}
...
...
Please
register
or
login
to post a comment