init(content: () -> Content)
Creates a section with the provided section content.
Available when
Parent
is EmptyView
, Content
conforms to View
, and Footer
is EmptyView
.init<S>(S, content: () -> Content)
Creates a section with the provided section content.
Available when
Parent
is Text
, Content
conforms to View
, and Footer
is EmptyView
.init(LocalizedStringKey , content: () -> Content)
Creates a section with the provided section content.
Available when
Parent
is Text
, Content
conforms to View
, and Footer
is EmptyView
.