@@ -633,6 +633,27 @@ public protocol AppBackend: Sendable {
633633 /// Gets used by the SCUI sheet implementation to close a sheet.
634634 func dismissSheet( _ sheet: Sheet , window: Window ? )
635635
636+ /// Sets the corner radius for a sheet presentation.
637+ ///
638+ /// This method is called when the sheet content has a `presentationCornerRadius` modifier
639+ /// applied at its top level. The corner radius affects the sheet's presentation container,
640+ /// not the content itself.
641+ ///
642+ /// - Parameters:
643+ /// - sheet: The sheet to apply the corner radius to.
644+ /// - radius: The corner radius in pixels.
645+ func setPresentationCornerRadius( of sheet: Sheet , to radius: Int )
646+
647+ /// Sets the available detents (heights) for a sheet presentation.
648+ ///
649+ /// This method is called when the sheet content has a `presentationDetents` modifier
650+ /// applied at its top level. Detents allow users to resize the sheet to predefined heights.
651+ ///
652+ /// - Parameters:
653+ /// - sheet: The sheet to apply the detents to.
654+ /// - detents: An array of detents that the sheet can be resized to.
655+ func setPresentationDetents( of sheet: Sheet , to detents: [ PresentationDetent ] )
656+
636657 /// Presents an 'Open file' dialog to the user for selecting files or
637658 /// folders.
638659 ///
@@ -1215,4 +1236,12 @@ extension AppBackend {
12151236 public func dismissSheet( _ sheet: Sheet , window: Window ? ) {
12161237 todo ( )
12171238 }
1239+
1240+ public func setPresentationCornerRadius( of sheet: Sheet , to radius: Int ) {
1241+ todo ( )
1242+ }
1243+
1244+ public func setPresentationDetents( of sheet: Sheet , to detents: [ PresentationDetent ] ) {
1245+ todo ( )
1246+ }
12181247}
0 commit comments