简体   繁体   English

如何从 flutter android 模拟器黄线和黑线

[英]how to yellow and black lines from flutter android emulator

In the android emulator it appears this yellow and black lines when tipping in the form, someone knows how to fix it?在 android 仿真器中,在表格中显示此黄色和黑色线条时,有人知道如何修复它吗?

在此处输入图像描述

You can add the resizeToAvoidBottomInset parameter to your scaffold to automatically move your contents up when you open your keyboard to prevent a bottom overflow.您可以将resizeToAvoidBottomInset参数添加到脚手架,以便在您打开键盘时自动将内容向上移动,以防止底部溢出。

Scaffold(
resizeToAvoidBottomInset: false,
child: ...
);

alternatively you can wrap your from in a SingleChildScrollView widget to make any overflow scrollable.或者,您可以将您的 from 包装在SingleChildScrollView小部件中,以使任何溢出可滚动。

SingleChildScrollView(
child: Column(...),
);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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