Contents

buildBlock(_:)

Passes a single control widget template written as a child view through unmodified.

Declaration

static func buildBlock<Content>(_ content: Content) -> some ControlWidgetTemplate where Content : ControlWidgetTemplate

Discussion

An example of a single control widget template written as a child view is { ControlWidgetToggle(...) }.