,
this.autofocus: false,
this.obscureText: false, //是否隐藏输入
this.autocorrect: true,
this.maxLines...)',
helperText: '请输入你的真实姓名',
),
onChanged: _textFieldChanged,
autofocus: false,
)...)',
helperText: '请输入注册的手机号',
),
autofocus: false,
),
TextField(
controller...[
TextField(
/* onChanged: (text) {
value = text;
print(value);
},*/
autofocus...,
在第一个输入框的onEditingComplete方法中是用
FocusScope.of(context).requestFocus(secondTextFieldNode),
方法来让第二个输入框请求获取焦点