NavigationRailItemColors

constructor(selectedIconColor: Color, selectedTextColor: Color, selectedIndicatorColor: Color, unselectedIconColor: Color, unselectedTextColor: Color, disabledIconColor: Color, disabledTextColor: Color)

create an instance with arbitrary colors.

Parameters

selectedIconColor

the color to use for the icon when the item is selected.

selectedTextColor

the color to use for the text label when the item is selected.

selectedIndicatorColor

the color to use for the indicator when the item is selected.

unselectedIconColor

the color to use for the icon when the item is unselected.

unselectedTextColor

the color to use for the text label when the item is unselected.

disabledIconColor

the color to use for the icon when the item is disabled.

disabledTextColor

the color to use for the text label when the item is disabled.