底部bottom颜色

master
章文轩 3 years ago
parent deecd844f3
commit ee17631e4e

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

Loading…
Cancel
Save