NavigationBarItemDefaults


Defaults used in NavigationBarItem.

Summary

Public functions

NavigationBarItemColors

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

Cmn
NavigationBarItemColors
@Composable
colors(
    selectedIconColor: Color,
    selectedTextColor: Color,
    indicatorColor: Color,
    unselectedIconColor: Color,
    unselectedTextColor: Color,
    disabledIconColor: Color,
    disabledTextColor: Color
)

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

Cmn

Public functions

colors

@Composable
fun colors(): NavigationBarItemColors

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

colors

@Composable
fun colors(
    selectedIconColor: Color = Color.Unspecified,
    selectedTextColor: Color = Color.Unspecified,
    indicatorColor: Color = Color.Unspecified,
    unselectedIconColor: Color = Color.Unspecified,
    unselectedTextColor: Color = Color.Unspecified,
    disabledIconColor: Color = Color.Unspecified,
    disabledTextColor: Color = Color.Unspecified
): NavigationBarItemColors

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

Parameters
selectedIconColor: Color = Color.Unspecified

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

selectedTextColor: Color = Color.Unspecified

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

indicatorColor: Color = Color.Unspecified

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

unselectedIconColor: Color = Color.Unspecified

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

unselectedTextColor: Color = Color.Unspecified

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

disabledIconColor: Color = Color.Unspecified

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

disabledTextColor: Color = Color.Unspecified

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