Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

listSectionMargins(_:)

A view modifier that maps SwiftUI's listSectionMargins.

iOS 26.0+macOS: unavailable (no-op)tvOS: unavailable (no-op)watchOS: unavailable (no-op)
fun Modifier.listSectionMargins(edges: Edge.Set = Edge.Set.all, length: Double?): Modifier

Overview

Modifier.listSectionMargins(length = 0.0)

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

nonisolated func listSectionMargins(_ edges: Edge.Set = .all, _ length: CGFloat?) -> some View

Topics

Overloads

fun Modifier.listSectionMargins(edges: Edge.Set = Edge.Set.all, length: Double?): Modifier
SwiftUI View.listSectionMargins(_:_:)