Flutter BottomNavigationBarItem original color

Viewed 26

When i'm using BottomNaviagtionBar with BottomNavigationBarItem the color of selected BottomNavigationBarItem is the color selectedItemColor but i wan't to use the original color, because my image has two different colors when I try to use transparent color my icon disappear

Thanks for your help

1 Answers

So if you want to use the default color, then don't specify any values to selectedItemColor. If that doesn't work try finding a color that doesn't cause such a problem and use it. Here are all the colors flutter has, I am sure you will find the right one, just keep lookin'

https://api.flutter.dev/flutter/material/Colors-class.html

Related