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{}

param{}

  1. 0_
  2. 1action:
    genericParameterC
  3. 2actionLabel:
    function(Bool) -> Bescaping

result{}

  • argstructSwiftUI.Text
  • arggenericParameterB
  • arggenericParameterC