Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
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
Benjamin Jaeger
2022-01-25 15:14:36 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2022-01-25 15:14:36 +0100
Commit
15ce92842678c2d86fae18ffb5dcf8c46eb43ae1
15ce9284
1 parent
54f62b14
Add curve to ExtensionBottomSheet
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
lib/get_navigation/src/extension_navigation.dart
lib/get_navigation/src/extension_navigation.dart
View file @
15ce928
...
...
@@ -31,6 +31,7 @@ extension ExtensionBottomSheet on GetInterface {
RouteSettings
?
settings
,
Duration
?
enterBottomSheetDuration
,
Duration
?
exitBottomSheetDuration
,
Curve
?
curve
,
})
{
return
Navigator
.
of
(
overlayContext
!,
rootNavigator:
useRootNavigator
)
.
push
(
GetModalBottomSheetRoute
<
T
>(
...
...
@@ -56,6 +57,7 @@ extension ExtensionBottomSheet on GetInterface {
enterBottomSheetDuration
??
const
Duration
(
milliseconds:
250
),
exitBottomSheetDuration:
exitBottomSheetDuration
??
const
Duration
(
milliseconds:
200
),
curve:
curve
,
));
}
}
...
...
Please
register
or
login
to post a comment