这里是代码[在此处输入图片描述[][1]][1]
嘿,我正在开发一个新的应用程序,它有一个评论部分显示我把文本字段放在底部因为更好的视图但是每当我打开我的键盘我的半屏被隐藏时我遇到了问题,这是非常 对用户界面不利,所以在这里我需要你的帮助,当我使 resizeToAvoidBottomInset 错误文本字段隐藏在键盘后面
Object.entries(lend_rates).map(([ key, value ], i) =>
<div key={i}>
{key} : {value}
</div>
)
答案 0 :(得分:0)
如果您想在显示键盘时使列内的内容可滚动,我相信您可以使用 SingleChildScrollView。以下是使用示例:
SingleChildScrollView(
child: Column(
children: <Widget>[
Container(
height: 250,
color: Colors.red[600],
child: const Center(child: Text('Entry A')),
),
Container(
height: 250,
color: Colors.red[500],
child: const Center(child: Text('Entry B')),
),
Container(
height: 250,
color: Colors.yellow[100],
child: const Center(child: Text('Entry C')),
),
],
),
)