0

In the flutter BottomBar the first item is always highlighted. Is there a way to style all items the same way, so that the first item is not highlighted or all highlighted? I define the BottomBar in my ThemeData like :

      bottomNavigationBarTheme: BottomNavigationBarThemeData(
        type: BottomNavigationBarType.fixed,
        backgroundColor: getColorFromHex('#9FC039'),
        // elevation: 15,
        selectedIconTheme: IconThemeData(color: Colors.white),
        unselectedIconTheme: IconThemeData(color: Colors.white.withOpacity(.60)),
        selectedItemColor: Colors.white,
        unselectedItemColor: Colors.white.withOpacity(.60),
        selectedLabelStyle: TextStyle(color: Colors.white, fontFamily: 'Montserrat', fontSize: 14.0),
        unselectedLabelStyle: TextStyle(color: Colors.white, fontFamily: 'Montserrat', fontSize: 14.0),
      ),
cwhisperer
  • 1,478
  • 1
  • 32
  • 63

0 Answers0