[英]flutter - How can text on stack not up when keyboard appears?
Im making an authentication screen where there are Text
widgets and TextField
wrapped in Stack
. 我正在创建一个身份验证屏幕,其中在
Stack
包装了Text
小部件和TextField
。
However, when writing in the Textfield
, following the activation code ( Text
) below is pulled up when the keyboard appears; 但是,在
Textfield
写入内容时,出现键盘时,将Textfield
以下激活码( Text
);
How to keep the following code position constant at the bottom and when the keyboard appears it is overwritten? 如何使下面的代码位置在底部保持恒定,并在键盘出现时将其覆盖?
Any answell will appreciated. 任何答复将不胜感激。
在listview
内包装您的Stack
小部件,这样键盘将不会对其位置产生任何影响。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.