An enum that defines the input type of the widget.
InputType.TEXT
means that the input accepts regular text including all characters.
InputType.INTEGER
means that the input accepts an integer.
InputType.FLOAT
means that the input accepts a floating-point number.
InputType.EMAIL
means that the input accepts an email address.
To call an enum, you call its parent class, name, and property. For example,
CardService.InputType.INTEGER
.
Properties
Property | Type | Description |
---|---|---|
TEXT | Enum | Accept regular text. |
INTEGER | Enum | Accept an integer. |
FLOAT | Enum | Accept a floating-point number. |
EMAIL | Enum | Accept an email address. |