init(content:header:)
Creates a section with a header and the provided section content.
Declaration
init(@ContentBuilder content: () -> Content, @ContentBuilder header: () -> Parent)Parameters
- content:
The section’s content.
- header:
A view to use as the section’s header.