修改登录时验证码输入键盘类型

This commit is contained in:
CYH 2023-07-10 14:43:54 +08:00
parent d7679f5587
commit 9d2f928014

View File

@ -113,11 +113,13 @@ class LoginPage extends StatelessWidget {
width: 200.sp,
child: TextField(
controller: logic.codeEditingController,
keyboardType: TextInputType.phone,
maxLength: 8,
style: TextStyle(
color: Colors.white, fontSize: 16.sp),
decoration: InputDecoration(
hintText: '请输入验证码',
hintStyle: TextStyle(
color: Colors.white70,
fontSize: 16.sp),