customBottomBar top-level property
Implementation
var customBottomBar = BottomNavigationBar(
currentIndex: 1,
type: BottomNavigationBarType.fixed,
onTap: null,
items: [
BottomNavigationBarItem(
icon: new Icon(Icons.dashboard),
//title: Text(rf.lang.text('', 'page_one')),
label: rf.lang!.text('', 'page_one')),
BottomNavigationBarItem(
icon: new Icon(Icons.gesture),
// title: new Text(rf.lang.text('', 'page_two')),
label: rf.lang!.text('', 'page_two')),
BottomNavigationBarItem(
icon: Icon(Icons.timelapse),
//title: Text(rf.lang.text('', 'page_three')),
label: rf.lang!.text('', 'page_three')),
],
);