RoundedRectangle(cornerRadius: 25.0)
.fill(
//radial gradient
RadialGradient(gradient: Gradient(colors: [Color.red, Color.green, Color.yellow]), center: .center, startRadius: 5, endRadius: 500)
)
.frame(width: 300, height: 200)
SHORT QUESTIONS
How i will add Radial Gradient in SwiftUI?
RoundedRectangle(cornerRadius: 25.0) .fill( //radial gradient RadialGradient(gradient: Gradient(colors: [Color.red, Color.green, Color.yellow]), center: .center, startRadius: 5, endRadius:...
0 Comments
Leave a Comment