底部颜色

master
章文轩 3 years ago
parent ee17631e4e
commit b19bf1eda4

@ -50,8 +50,10 @@ 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), selectedLabelStyle: TextStyle(fontSize: 14),
unselectedLabelStyle: TextStyle(color: Color(0xFF666666),fontSize: 12), selectedItemColor: Colors.blue,
unselectedItemColor: Color(0xFF666666),
unselectedLabelStyle: TextStyle(fontSize: 12),
onTap: (index) { onTap: (index) {
_currentIndex = index; _currentIndex = index;
kSetState(() {}); kSetState(() {});

Loading…
Cancel
Save