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