底部颜色

master
章文轩 3 years ago
parent ee17631e4e
commit b19bf1eda4

@ -50,8 +50,10 @@ class _PowerLoggerViewState extends State<PowerLoggerView> {
return BottomNavigationBar(
backgroundColor: Colors.white,
currentIndex: _currentIndex,
selectedLabelStyle: TextStyle(color: Colors.blue,fontSize: 14),
unselectedLabelStyle: TextStyle(color: Color(0xFF666666),fontSize: 12),
selectedLabelStyle: TextStyle(fontSize: 14),
selectedItemColor: Colors.blue,
unselectedItemColor: Color(0xFF666666),
unselectedLabelStyle: TextStyle(fontSize: 12),
onTap: (index) {
_currentIndex = index;
kSetState(() {});

Loading…
Cancel
Save