WideNavigationRailItemDefaults

Functions

Link copied to clipboard
@Composable
fun colors(): NavigationItemColors
@Composable
fun colors(selectedIconColor: Color = NavigationRailColorTokens.ItemActiveIcon.value, selectedTextColor: Color = NavigationRailColorTokens.ItemActiveLabelText.value, selectedIndicatorColor: Color = NavigationRailColorTokens.ItemActiveIndicator.value, unselectedIconColor: Color = NavigationRailColorTokens.ItemInactiveIcon.value, unselectedTextColor: Color = NavigationRailColorTokens.ItemInactiveLabelText.value, disabledIconColor: Color = unselectedIconColor.copy(alpha = DisabledAlpha), disabledTextColor: Color = unselectedTextColor.copy(alpha = DisabledAlpha)): NavigationItemColors

Creates a NavigationItemColors with the provided colors according to the Material specification.

Link copied to clipboard

The default icon position of a WideNavigationRailItem given whether the associated WideNavigationRail is collapsed or expanded.