init(_:)
Creates a type collecting the relevances for a widget kind.
Declaration
init(_ attributes: [WidgetRelevanceAttribute<Configuration>])Parameters
- attributes:
A collection of
WidgetRelevanceAttributedescribing when this type of widget could be relevant.