diff --git a/lib/src/modal/sbb_modal.dart b/lib/src/modal/sbb_modal.dart index ad0d2d0..ddac6b0 100644 --- a/lib/src/modal/sbb_modal.dart +++ b/lib/src/modal/sbb_modal.dart @@ -97,6 +97,7 @@ Future showSBBModalSheet({ bool useRootNavigator = true, bool useSafeArea = true, bool enableDrag = true, + BoxConstraints? constraints, }) { return showModalBottomSheet( context: context, @@ -105,6 +106,7 @@ Future showSBBModalSheet({ useRootNavigator: useRootNavigator, useSafeArea: useSafeArea, enableDrag: enableDrag, + constraints: constraints, builder: (BuildContext context) { return SBBModalSheet( title: title, @@ -136,6 +138,7 @@ Future showCustomSBBModalSheet({ bool useRootNavigator = true, bool useSafeArea = true, bool enableDrag = true, + BoxConstraints? constraints, }) { return showModalBottomSheet( context: context, @@ -144,6 +147,7 @@ Future showCustomSBBModalSheet({ useRootNavigator: useRootNavigator, useSafeArea: useSafeArea, enableDrag: enableDrag, + constraints: constraints, builder: (BuildContext context) { return SBBModalSheet.custom( header: header,