description(_:)
Sets the localized description shown for a widget when a user adds or edits the widget.
Declaration
@MainActor @preconcurrency func description(_ descriptionKey: LocalizedStringKey) -> some WidgetConfiguration
Parameters
- descriptionKey:
The key for the localized description to display.
Return Value
A widget configuration with a description of the widget.