โฌ๏ธ ้่ฆ๏ผ Vehicle
import SwiftUI
struct SunsetSportsCar: View {
var body: some View {
ZStack {
sunset
Vehicle() // ๐ผ Vehicle
}
.frame(width: 400)
}
}
extension SunsetSportsCar {
/// sunset behind sports car
var sunset: some View {
Circle()
.fill(.diagonal(.white, .yellow, .orange, .red, .clear))
.padding(40)
}
}