supportedFamilies(_:)
Sets the sizes that a widget supports.
Declaration
@MainActor @preconcurrency func supportedFamilies(_ families: [WidgetFamily]) -> some WidgetConfiguration
Parameters
- families:
The set of sizes the widget supports.
Return Value
A widget configuration that supports the sizes you specify.