[Flutter]画面下にボタンを配置したい時はbuttomNavigationBar
BottomAppBar()を使うと、それぞれのボタンが押された時の定義をonPressedに書ける。
bottomNavigationBar: BottomAppBar(
color: Theme.of(context).primaryColor,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
IconButton(
icon: Icon(
Icons.person_outline,
color: Colors.blue,
),
onPressed: () {},
),
IconButton(
icon: Icon(
Icons.info_outline,
color: Colors.blue,
),
onPressed: () {},
),
],
),
),