fix:调整登录页面键盘无法收起的问题
This commit is contained in:
parent
f48e7c8274
commit
335f66a0b5
@ -80,7 +80,11 @@ class _StarLockLoginPageState extends State<StarLockLoginPage> {
|
||||
),
|
||||
],
|
||||
),
|
||||
body: ListView(
|
||||
body: GestureDetector(
|
||||
onTap: (){
|
||||
FocusScope.of(context).unfocus();
|
||||
},
|
||||
child: ListView(
|
||||
padding: EdgeInsets.only(top: 120.h, left: 40.w, right: 40.w),
|
||||
children: <Widget>[
|
||||
Container(
|
||||
@ -305,6 +309,7 @@ class _StarLockLoginPageState extends State<StarLockLoginPage> {
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user