keyboardType method
Implementation
TextInputType keyboardType() {
if (_keyboardType != null) {
return _keyboardType!;
} else {
switch (_inputType) {
case InputType.pinCode:
case InputType.cpf:
case InputType.phone:
case InputType.currency:
return TextInputType.number;
case InputType.personName:
default:
return TextInputType.name;
}
}
}