List Row Insets
Applies an inset to the rows in a list.
Platform Compatibility
Tags
SwiftUI Code
List {
Section {
Text("All")
} header: {
Text("Header")
}
.listRowInsets(.all, 0)
Section {
Text("Header Only")
} header: {
Text("Header")
.listRowInsets(.all, 0)
}
Section {
Text("Normal")
} header: {
Text("Header")
}
}