PersistentBottomNavBar
PersistentBottomNavBar copied to clipboard
"type 'TextStyle' is not a subtype of type 'Color?' in type cast" when assigning textStyle to PersistentBottomNavBarItem
I am getting this error when trying to change the textStyle value of PersistentBottomNavBarItems.

As you can see, I am assigning it a type 'TextStyle' value. I can't even declare a new TextStyle directly like shown next:

Is this a bug or am I using it unintendedly?
I've noticed it only happens to style3. You can avoid this error changing styles. Looking up for an update!
i have the same issue with style 3
any updates on this for style3?
You should remove TextStyle property to solve style 3 issue