SwiftinitWidgetKitWidgetKit.ControlWidgetButton
init
WidgetKit.ControlWidgetButton< where A == SwiftUI.Text>.init< where C: AppIntents.AppIntent>(_: SwiftUI.LocalizedStringKey, action: C, actionLabel: (Bool) -> B) -> WidgetKit.ControlWidgetButton<SwiftUI.Text, B, C>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
BC
req{}
- conformance:genericParameter
CprotocolAppIntents.AppIntent
param{}
- 0_
- 1action:genericParameter
C - 2actionLabel:function
(Bool) -> Bescaping- returnsgenericParameter
B
result{}
- arggenericParameter
B - arggenericParameter
C