init(_:content:)
Creates a section with the provided content.
Declaration
init(_ titleKey: LocalizedStringKey, @TabContentBuilder<SelectionValue> content: () -> Content) where Header == Text, Footer == EmptyViewParameters
- titleKey:
The localized string key label for the section’s header.
- content:
The section’s content.