init(role:content:)
Creates a new tab that you can use in a tab view, with an empty label.
Declaration
init(role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabelParameters
- role:
The role defining the semantic purpose of the tab.
- content:
The view content of the tab.