Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Dart 当停靠在底部应用程序栏上时,如何在晶圆厂上更改填充?_Dart_Flutter_Floating Action Button_Textedit_Bottomappbar - Fatal编程技术网

Dart 当停靠在底部应用程序栏上时,如何在晶圆厂上更改填充?

Dart 当停靠在底部应用程序栏上时,如何在晶圆厂上更改填充?,dart,flutter,floating-action-button,textedit,bottomappbar,Dart,Flutter,Floating Action Button,Textedit,Bottomappbar,问题是当FAB停靠在BottomAppBar上,然后调用键盘时,FAB填充大小调整无法正确对齐键盘上方,用户无法按下 下面是实际发生的情况 复制错误的脚手架的快速示例 Scaffold( appBar: AppBar(), bottomNavigationBar: BottomAppBar( shape: CircularNotchedRectangle(), child: Row( children: <Widget>[ Ico

问题是当
FAB
停靠在
BottomAppBar
上,然后调用键盘时,
FAB
填充大小调整无法正确对齐键盘上方,用户无法按下

下面是实际发生的情况

复制错误的脚手架的快速示例

Scaffold(
  appBar: AppBar(),
  bottomNavigationBar: BottomAppBar(
    shape: CircularNotchedRectangle(),
    child: Row(
      children: <Widget>[
        IconButton(
          icon: Icon(
            Icons.lightbulb_outline,
            color: Colors.deepPurple,
          ),
          onPressed: () {},
        ),
      ],
    ),
  ),
  body: Center(
    child: TextField(),
  ),
  floatingActionButton: FloatingActionButton(
    onPressed: () {},
  ),
  floatingActionButtonLocation: FloatingActionButtonLocation.endDocked,
);
脚手架(
appBar:appBar(),
bottomNavigationBar:BottomAppBar(
形状:CircularNotchedRectangle(),
孩子:排(
儿童:[
图标按钮(
图标:图标(
图标。灯泡的轮廓,
颜色:颜色。深紫色,
),
按下:(){},
),
],
),
),
正文:中(
子项:TextField(),
),
浮动操作按钮:浮动操作按钮(
按下:(){},
),
floatingActionButtonLocation:floatingActionButtonLocation.endDocked,
);

你能发布你的
脚手架
吗?我添加了一个
脚手架
的片段来重现错误