init(_:content:)
Creates an unsortable column with a text label
Declaration
nonisolated init(_ text: Text, @ViewBuilder content: @escaping (RowValue) -> Content)Parameters
- text:
The column’s label.
- content:
The view content to display for each row in a table.
Discussion
This initializer creates a Text view for you, and treats the title similar to init(_:). For information about localizing strings, see Text.