List Row Spacing
Sets the vertical spacing between two adjacent rows in a List.
Platform Compatibility
Tags
SwiftUI Code
List {
Section {
Text("Foo")
Text("Bar")
}
Text("FooBar")
Text("FooBar")
}
.listRowSpacing(5)Sets the vertical spacing between two adjacent rows in a List.
List {
Section {
Text("Foo")
Text("Bar")
}
Text("FooBar")
Text("FooBar")
}
.listRowSpacing(5)A structure that computes views and disclosure groups on demand from an underlying collection of tree-structured, identified data.
A view that shows or hides another content view, based on the state of a disclosure control.
Sets the label that is used in a section index to point to this section, typically only a single character long. Changes the visibility of the list section index.
A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options.
Creates a view that loads subscriptions based on a collection of product identifiers, and merchandises them with automatic marketing content.
Adds custom swipe actions to a row in a list or container, notifying you when the actions are revealed or dismissed.