简体   繁体   English

颤抖-键盘出现时,堆栈上的文本如何不显示?

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM