fun Modifier.scrollPosition(id: Any?, onIdChange: (Any?) -> Unit, anchor: UnitPoint? = null): ModifierOverview
Modifier.scrollPosition(id = value)This is the Kotlin form of SwiftUI View.scrollPosition(id:anchor:): SwiftUI documentation. In Swift it reads:
nonisolated func scrollPosition(id: Binding<(some Hashable)?>, anchor: UnitPoint? = nil) -> some ViewTopics
Overloads
fun Modifier.scrollPosition(id: Any?, onIdChange: (Any?) -> Unit, anchor: UnitPoint? = null): Modifier