Keyboard Type
All widgets that inherit from
EditableTextBase
, i.e.,
TextField
and
TextView
, have a keyboardType property that gets or
sets the soft keyboard type that will be shown while in edit
mode. Possible values are contained in the
KeyboardType
enumeration.
- datetime
-
phone
- Android: TYPE_CLASS_PHONE
- iOS: UIKeyboardTypePhonePad
- number
-
url
- Android: TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_URI
- iOS: UIKeyboardTypeURL
Return Key Type
All widgets that inherit from
EditableTextBase
, i.e.,
TextField
and
TextView
, have a returnKeyType property that gets or
sets the soft keyboard return key type. Possible values are
contained in the
ReturnKeyType
enumeration.
-
done
- Android: IME_ACTION_DONE
- iOS: UIReturnKeyDone
-
next
- Android: IME_ACTION_NEXT
- iOS: UIReturnKeyNext
-
go
- Android: IME_ACTION_GO
- iOS: UIReturnKeyGo
-
search
- Android: IME_ACTION_SEARCH
- iOS: UIReturnKeySearch
-
send
- Android: IME_ACTION_SEND
- iOS: UIReturnKeySend