Showing
1 changed file
with
2 additions
and
0 deletions
| @@ -31,6 +31,7 @@ extension ExtensionBottomSheet on GetInterface { | @@ -31,6 +31,7 @@ extension ExtensionBottomSheet on GetInterface { | ||
| 31 | RouteSettings? settings, | 31 | RouteSettings? settings, |
| 32 | Duration? enterBottomSheetDuration, | 32 | Duration? enterBottomSheetDuration, |
| 33 | Duration? exitBottomSheetDuration, | 33 | Duration? exitBottomSheetDuration, |
| 34 | + Curve? curve, | ||
| 34 | }) { | 35 | }) { |
| 35 | return Navigator.of(overlayContext!, rootNavigator: useRootNavigator) | 36 | return Navigator.of(overlayContext!, rootNavigator: useRootNavigator) |
| 36 | .push(GetModalBottomSheetRoute<T>( | 37 | .push(GetModalBottomSheetRoute<T>( |
| @@ -56,6 +57,7 @@ extension ExtensionBottomSheet on GetInterface { | @@ -56,6 +57,7 @@ extension ExtensionBottomSheet on GetInterface { | ||
| 56 | enterBottomSheetDuration ?? const Duration(milliseconds: 250), | 57 | enterBottomSheetDuration ?? const Duration(milliseconds: 250), |
| 57 | exitBottomSheetDuration: | 58 | exitBottomSheetDuration: |
| 58 | exitBottomSheetDuration ?? const Duration(milliseconds: 200), | 59 | exitBottomSheetDuration ?? const Duration(milliseconds: 200), |
| 60 | + curve: curve, | ||
| 59 | )); | 61 | )); |
| 60 | } | 62 | } |
| 61 | } | 63 | } |
-
Please register or login to post a comment