NavigationBarItemDefaults
-
Cmn
object NavigationBarItemDefaults
Defaults used in NavigationBarItem.
Summary
Public functions |
||
|---|---|---|
NavigationBarItemColors |
Creates a |
Cmn
|
NavigationBarItemColors |
@ComposableCreates a |
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. |
| Returns | |
|---|---|
NavigationBarItemColors |
the resulting |