Contents

init()

Creates a widget using body as its content.

Declaration

@MainActor @preconcurrency init()

See Also

Running a widget