init(textProvider:label:)
Creates a template with a line of text and a SwiftUI view.
Declaration
init(textProvider: CLKTextProvider, label: Label)Parameters
- textProvider:
The text provider for the text. The template supports multicolored text from this text provider.
- label:
The SwiftUI view displayed by the template.