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