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