init(content:header:)
Creates a section with a header and the provided section content.
Declaration
init(@TabContentBuilder<SelectionValue> content: () -> Content, @ViewBuilder header: () -> Header) where Header : View, Footer == EmptyViewParameters
- content:
The section’s content.
- header:
A view to use as the section’s header.