The component to display as the row’s background.
Support
Usage
Colored row background
Apply to content inside a List’s ForEach.Alternating row backgrounds
Notes
- This modifier should be applied to the content views inside a
List, not to theListitself. - The background fills the entire row area, including under any separators.
See Also
- listRowSeparator — controls row separator visibility
- listStyle — sets the overall list style
- List — the list container component