VisualStyle
struct VisualStyle
                Specifies the presentation style for a text field.
Used to specify separate visual styles depending on the first-responding state of the text field.
- 
                  
                  
Undocumented
Declaration
Swift
public var textColor: Color - 
                  
                  
Undocumented
Declaration
Swift
public var placeholderTextColor: Color - 
                  
                  
Undocumented
Declaration
Swift
public var backgroundColor: Color - 
                  
                  
Undocumented
Declaration
Swift
public var strokeColor: Color - 
                  
                  
Undocumented
Declaration
Swift
public var strokeWidth: Double - 
                  
                  
Undocumented
Declaration
Swift
public var caretColor: Color - 
                  
                  
Undocumented
Declaration
Swift
public var selectionColor: Color - 
                  
init(textColor:placeholderTextColor: backgroundColor: strokeColor: strokeWidth: caretColor: selectionColor: ) Undocumented
Declaration
Swift
public init(textColor: Color = .black, placeholderTextColor: Color = .black, backgroundColor: Color = .white, strokeColor: Color = .black, strokeWidth: Double = 0, caretColor: Color = .black, selectionColor: Color = .black) - 
                  
                  
Undocumented
Declaration
Swift
public static func defaultDarkStyle() -> [ControlViewState : `Self`] - 
                  
                  
Undocumented
Declaration
Swift
public static func defaultLightStyle() -> [ControlViewState : `Self`]