Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

fullScreenCover(_:)

A view modifier that maps SwiftUI's fullScreenCover.

iOS 17.0+macOS: unavailable (no-op)tvOS 17.0+watchOS 10.0+
fun Modifier.fullScreenCover(isPresented: Boolean, onIsPresentedChange: (Boolean) -> Unit, content: @Composable () -> Unit): Modifier

Overview

Modifier.fullScreenCover(isPresented = true, onIsPresentedChange = { value -> })

This is the Kotlin form of SwiftUI View.fullScreenCover(isPresented:onDismiss:content:): SwiftUI documentation. In Swift it reads:

nonisolated func fullScreenCover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ContentBuilder content: @escaping () -> Content) -> some View where Content : View

Topics

Overloads

fun Modifier.fullScreenCover(isPresented: Boolean, onIsPresentedChange: (Boolean) -> Unit, content: @Composable () -> Unit): Modifier
SwiftUI View.fullScreenCover(isPresented:onDismiss:content:)