flutter - 当虚拟键盘出现时如何阻止我的对话框裁剪
问题描述
我有这个输入,当用户点击它时,图像就会出现。
现在这是在 Dialog > TabViewContent > currentWidget
Widget build(BuildContext context) { // current Widget
return Container(
child: Column(
children: [
Container(
child: LabelInputClear(
label: 'Text for this item',
),
),
],
),
);
}
如您所见,对话框被裁剪。如何使虚拟键盘位于对话框上方而不是裁剪它。
解决方案
推荐阅读
- c++ - 你可以用 C++ 中的 Enum 类替换 Typename 吗?
- javascript - 如何通过 React-leaflet 使用纬度和经度设置新位置的地图视图
- node.js - 如何从 [PROJECT B] 云函数(触发器)调用 [PROJECT A] 云函数?
- visual-studio - 如何在结果面板中更改 Visual Studio Code 中的文本颜色?
- javascript - 无法读取未定义的属性“caseSensitive”
- node.js - MongoDB:如何使用聚合管道中上一次匹配的结果(ObjectIds 数组)执行第二次匹配
- ios - 我可以延长用户当前的自动更新订阅到期日期吗
- fastreport - 在 FastReport 中使用 JSON(Javascript 对象表示法)数据源从 .Net Core 发送数据
- python - 使用 pymupdf 进行切片
- batch-file - cmd.exe >> txt 输出文件夹名称