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,
);
你能发布你的脚手架
吗?我添加了一个脚手架
的片段来重现错误