Closed NeonX closed 1 year ago
Have you tried "selectedTitleStyle"?
Have you tried "selectedTitleStyle"?
Yes, I've tried both "titleStyle" and "selectedTitleStyle". text color dont change but font size do.
I have the same problem ! It seems to only be the color, if I add a text decoration such as an underline it works fine but the color doesn't change.
I try to change text color to Colors.amber but it's still black.
SideMenuItemDataTile( isSelected: _currentIndex == 3, onTap: () => setState(() => _currentIndex = 3), title: 'Demo', icon: const Icon(Icons.car_crash), titleStyle: GoogleFonts.notoSansThai( textStyle: const TextStyle( fontSize: 14, color: Colors.amber, ), ), ),