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