Contents

init(_:content:)

Creates a section with the provided section content.

Declaration

init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content)

Parameters

  • titleKey:

    The key for the section’s localized title, which describes the contents of the section.

  • content:

    The section’s content.

See Also

Creating a section