首页 > 解决方案 > 当虚拟键盘出现时如何阻止我的对话框裁剪

问题描述

我有这个输入,当用户点击它时,图像就会出现。

现在这是在 Dialog > TabViewContent > currentWidget

  Widget build(BuildContext context) { // current Widget
    return Container(
      child: Column(
        children: [
          Container(
            child: LabelInputClear(
              label: 'Text for this item',
            ),
          ),

        ],
      ),
    );
  }

在此处输入图像描述

如您所见,对话框被裁剪。如何使虚拟键盘位于对话框上方而不是裁剪它。

标签: flutterflutter-layout

解决方案


推荐阅读