去掉获取验证码按钮,密码框文字隐藏

hmxc
张萌 4 years ago
parent 75ad466ab4
commit b1dc189f12

@ -57,6 +57,7 @@ class _SignInPageState extends State<SignInPage> {
SizedBox(width: Screenutil.length(24)), SizedBox(width: Screenutil.length(24)),
Expanded( Expanded(
child: TextFormField( child: TextFormField(
obscureText: isCode,
cursorColor: Color(0xffffc40c), cursorColor: Color(0xffffc40c),
style: TextStyle( style: TextStyle(
fontSize: BaseStyle.fontSize28, fontSize: BaseStyle.fontSize28,
@ -82,18 +83,18 @@ class _SignInPageState extends State<SignInPage> {
), ),
), ),
), ),
isCode // isCode
? Row( // ? Row(
mainAxisAlignment: MainAxisAlignment.start, // mainAxisAlignment: MainAxisAlignment.start,
children: [ // children: [
SizedBox( // SizedBox(
width: 2, // width: 2,
height: Screenutil.length(29), // height: Screenutil.length(29),
child: DecoratedBox( // child: DecoratedBox(
decoration: BoxDecoration(color: Color(0xffd8d8d8)), // decoration: BoxDecoration(color: Color(0xffd8d8d8)),
), // ),
), // ),
SizedBox(width: Screenutil.length(16)), // SizedBox(width: Screenutil.length(16)),
// InkWell( // InkWell(
// child: Text( // child: Text(
// _verifyStr, // _verifyStr,
@ -105,9 +106,9 @@ class _SignInPageState extends State<SignInPage> {
// ), // ),
// onTap: null, // onTap: null,
// ), // ),
], // ],
) // )
: SizedBox(), // : SizedBox(),
], ],
), ),
); );

Loading…
Cancel
Save