ENUM
TextFormField.Kind
Contents
- Cases
number
email
url
tel
color
unknown(value:)
- Properties
rawValue
- Methods
init(rawValue:)
public enum Kind: RawRepresentable, Codable, Equatable
Kind of the field. The kind of a field specializes its meaning, allowing clients that support a certain "kind" to provide an improved user experience.
Cases
number
case number
A number kind.
case email
An email kind.
url
case url
An url kind.
tel
case tel
A telephone kind.
color
case color
A color kind.
unknown(value:)
case unknown(value: String)
An unknown kind, storing a String
value.
Properties
rawValue
public var rawValue: String
Methods
init(rawValue:)
public init(rawValue: String)
Parameters
Name | Description |
---|---|
rawValue | The raw value to use for the new instance. |