init(_:image:content:)
Creates a new control group with the specified content that generates its label from a localized string resource and image resource.
Declaration
@export(implementation) nonisolated init<C>(_ titleResource: LocalizedStringResource, image: ImageResource, @ContentBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : ViewParameters
- titleResource:
Text resource for the group’s localized title, that describes the contents of the group.