Contents

init(content:)

Creates a list with the given content.

Declaration

@MainActor @preconcurrency init(@ViewBuilder content: () -> Content)

Parameters

  • content:

    The content of the list.

See Also

Creating a list from a set of views