コード
import SwiftUI
struct ContentView: View {
var body: some View {
List {
Text("aaaaa")
Image(systemName: "flag.checkered.2.crossed")
HStack {
Image(systemName: "flag.checkered.2.crossed")
Text("bbbbb")
}
HStack {
Text("bbbbb")
Image(systemName: "flag.checkered.2.crossed")
}
Text("ccccc")
Label("ddddd", systemImage: "gamecontroller")
Text("eeeee")
Image("cloudsquare")
Label("fffff", image: "cloudsquare")
Text("ggggg")
}
}
}