Skip to main content

border_value

Function border_value 

Source
pub fn border_value(view: &ViewHandle, color: u64, width: f64) -> ViewHandle
Expand description

Apply .border(_:width:) with a Color that is already built.

For one of SwiftUI’s named colours: Color.gray is semantic and no set of components spells it. See system_color.