List Row Background
Places a custom background view behind a list row item.
Platform Compatibility
Tags
SwiftUI Code
List {
Section("Header") {
Text("Foo")
.listRowBackground(Color.accentColor)
Text("Bar")
}
}Places a custom background view behind a list row item.
List {
Section("Header") {
Text("Foo")
.listRowBackground(Color.accentColor)
Text("Bar")
}
}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.
Creates a view to load a collection of products from the App Store using product identifiers, and merchandise them using a custom image.
A gauge style that displays bar with a marker that appears at a point along the bar to indicate the gauge’s current value
A gauge style that displays a closed ring that’s partially filled in to indicate the gauge’s current value