selectedIconTheme property

IconThemeData? selectedIconTheme

The visual properties of the icon in the selected destination.

When a NavigationRailDestination is not selected, unselectedIconTheme will be used.

The default value is the Theme's ThemeData.iconTheme with a color of the Theme's ColorScheme.primary. Properties from this icon theme, or NavigationRailThemeData.selectedIconTheme if this is null, are merged into the defaults.


final IconThemeData? selectedIconTheme;