Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

gridCellAnchor(_:)

A view modifier that maps SwiftUI's gridCellAnchor.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
fun Modifier.gridCellAnchor(anchor: UnitPoint): Modifier

Overview

Modifier.gridCellAnchor(anchor = UnitPoint.…)

This is the Kotlin form of SwiftUI View.gridCellAnchor(_:): SwiftUI documentation. In Swift it reads:

nonisolated func gridCellAnchor(_ anchor: UnitPoint) -> some View

Topics

Overloads

fun Modifier.gridCellAnchor(anchor: UnitPoint): Modifier
SwiftUI View.gridCellAnchor(_:)