I'm trying to find a good way to get the system font for a List's header. Here's what I mean:
struct ContentView: View {
var body: some View {
List {
Section(header: Text("Test")) {
Text("Blablabla")
}
}
}
}
Basically, is there a way to programmatically get the font for the text in the image that says "Test", so I can use it elsewhere in a Text object for example?
I'm font of the trying to make a collapsible header by using DisclosureGroup, however the font of the DisclosureGroup is different from the font of the Section.

