fun Modifier.presentationDetents(detents: Set<PresentationDetent>): ModifierOverview
Modifier.presentationDetents(detents = Set.…)This is the Kotlin form of SwiftUI View.presentationDetents(_:): SwiftUI documentation. In Swift it reads:
nonisolated func presentationDetents(_ detents: Set<PresentationDetent>) -> some ViewTopics
Overloads
fun Modifier.presentationDetents(detents: Set<PresentationDetent>): Modifier