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