Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

presentationSizing(_:)

A view modifier that maps SwiftUI's presentationSizing.

iOS 18.0+macOS 15.0+tvOS 18.0+watchOS 11.0+
fun Modifier.presentationSizing(sizing: PresentationSizing): Modifier

Overview

Modifier.presentationSizing(sizing = PresentationSizing.…)

This is the Kotlin form of SwiftUI View.presentationSizing(_:): SwiftUI documentation. In Swift it reads:

nonisolated func presentationSizing(_ sizing: some PresentationSizing) -> some View

Topics

Overloads

fun Modifier.presentationSizing(sizing: PresentationSizing): Modifier
SwiftUI View.presentationSizing(_:)