Last updated 5 months ago
Was this helpful?
โฉ โฉ โฉ conditional modifier
Change view modifiers conditionally
Circle() // โญ๏ธ conditional modifier (`isOn`: @State view property) .foregroundColor( isOn ? .red : .yellow )
( a ? b : c)
view ( property)