fun Modifier.navigationDestination(isPresented: Boolean, onIsPresentedChange: (Boolean) -> Unit, destination: @Composable () -> Unit): ModifierOverview
Modifier.navigationDestination(isPresented = true, onIsPresentedChange = { value -> })This is the Kotlin form of SwiftUI View.navigationDestination(isPresented:destination:): SwiftUI documentation. In Swift it reads:
nonisolated func navigationDestination<V>(isPresented: Binding<Bool>, @ContentBuilder destination: () -> V) -> some View where V : ViewTopics
Overloads
fun Modifier.navigationDestination(isPresented: Boolean, onIsPresentedChange: (Boolean) -> Unit, destination: @Composable () -> Unit): Modifier