修改登录时验证码输入键盘类型
This commit is contained in:
parent
d7679f5587
commit
9d2f928014
@ -113,11 +113,13 @@ class LoginPage extends StatelessWidget {
|
|||||||
width: 200.sp,
|
width: 200.sp,
|
||||||
child: TextField(
|
child: TextField(
|
||||||
controller: logic.codeEditingController,
|
controller: logic.codeEditingController,
|
||||||
|
keyboardType: TextInputType.phone,
|
||||||
maxLength: 8,
|
maxLength: 8,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Colors.white, fontSize: 16.sp),
|
color: Colors.white, fontSize: 16.sp),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintText: '请输入验证码',
|
hintText: '请输入验证码',
|
||||||
|
|
||||||
hintStyle: TextStyle(
|
hintStyle: TextStyle(
|
||||||
color: Colors.white70,
|
color: Colors.white70,
|
||||||
fontSize: 16.sp),
|
fontSize: 16.sp),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user