问题是当
FAB
停靠在
BottomAppBar
绝妙的
以下是实际发生的情况。。。
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,
);