diff --git a/lib/src/power_logger_view.dart b/lib/src/power_logger_view.dart index fb06abb..bfb1575 100644 --- a/lib/src/power_logger_view.dart +++ b/lib/src/power_logger_view.dart @@ -50,8 +50,10 @@ class _PowerLoggerViewState extends State { 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(() {});