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