Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
Structure

PresentationDetent

The Compose SwiftUI form of SwiftUI's PresentationDetent.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
class PresentationDetent

Overview

This is the Kotlin form of SwiftUI PresentationDetent: SwiftUI documentation. In Swift it reads:

struct PresentationDetent

Topics

Type properties

val large: PresentationDetent
SwiftUI PresentationDetent.large
val medium: PresentationDetent
SwiftUI PresentationDetent.medium

Methods

fun height(height: Double): PresentationDetent
SwiftUI PresentationDetent.height(_:)
fun fraction(fraction: Double): PresentationDetent
SwiftUI PresentationDetent.fraction(_:)

Types

class PresentationDetent
SwiftUI PresentationDetent