I've defined the text here, how can I change the value of it?
VStack{
Text("text")
Button {
} label: {
ZStack {
Circle()
.frame(width: 90, height: 90)
.foregroundColor(Color(.systemBlue))
.opacity(0.5)
Text("5")
.font(.largeTitle)
.bold()
.foregroundColor(.black)
}
.frame(width: 90, height: 90)
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: