init(value:content:)
Creates a new tab that you can use in a tab view, with an empty label.
Declaration
nonisolated init(value: Value, @ViewBuilder content: () -> Content) where Label == EmptyViewParameters
- value:
The
selectionvalue which selects this tab. - content:
The view content of the tab.