SwiftUI Outline List Without \.children

Is it possible to get the expandable outline list functionality without using a data model with children? For example, something like this:

Code Block
List {
Text("Im a text row")
OutlineRow(label: { Text("Outline Title") }, children: {
Text("Im a text sub-row")
Text("Im another text sub-row")
Image("image-row")
})
Image("image-row")
}


Replies

I think I found it: DisclosureGroup
Haven't tested yet.