init(_:systemImage:)
Creates a label with a system icon image and a title generated from a localized string.
Declaration
nonisolated init(_ titleKey: LocalizedStringKey, systemImage name: String)Parameters
- titleKey:
A title generated from a localized string.