前言
打算flutter仿个掘金玩玩,
这不刚开始,就碰到问题了.
问题
正常的底部按钮是这样的
bottomNavigationBar: new BottomNavigationBar(
items: [
new BottomNavigationBarItem(
icon: Icon(Icons.home),
title: new Text("123"),
),
new BottomNavigationBarItem(
icon: Icon(Icons.whatshot),
title: new Text("123"),
),
new BottomNavigationBarItem(
icon: Icon(Icons.search),
title: new Text("123"),
),
new BottomNavigationBarItem(
icon: Icon(Icons.book),
title: new Text("123"),
),
new BottomNavigationBarItem(
icon: Icon(Icons.person),
title: new Text("123"),
),
],