Home > AI > IOS > SwiftUI >

AngularRadient


struct ContentView: View {
    var body: some View {
        let colors = Gradient(colors: [.red, .yellow, .green, .blue, .purple, .red])
        let conic = AngularGradient(gradient: colors, center: .center)
        return Circle()
            .fill(conic)
    }
}

Leave a Reply