init(content:label:)
Creates a group box with the provided label and view content.
Declaration
nonisolated init(@ContentBuilder content: () -> Content, @ContentBuilder label: () -> Label)Parameters
- content:
A Contentbuilder that produces the content for the group box.
- label:
A Contentbuilder that produces a label for the group box.