NavigationDrawerItemColors
class NavigationDrawerItemColors
Defines container & content color Color for all TV Indication states of a NavigationDrawerItem
Summary
Public constructors |
|---|
NavigationDrawerItemColors(create an instance with arbitrary colors. |
Public properties |
|
|---|---|
Color |
the default container color used when the |
Color |
the default content color used when the |
Color |
the container color used when the |
Color |
the content color used when the |
Color |
the content color used when none of the navigation items have focus and this item is disabled |
Color |
the container color used when the |
Color |
the content color used when the |
Color |
the container color used when the |
Color |
the content color used when the |
Color |
the content color used when none of the navigation items have focus |
Color |
the container color used when the |
Color |
the content color used when the |
Color |
the container color used when the |
Color |
the content color used when the |
Color |
the container color used when the |
Color |
the content color used when the |
Public constructors
NavigationDrawerItemColors
NavigationDrawerItemColors(
containerColor: Color,
contentColor: Color,
inactiveContentColor: Color,
focusedContainerColor: Color,
focusedContentColor: Color,
pressedContainerColor: Color,
pressedContentColor: Color,
selectedContainerColor: Color,
selectedContentColor: Color,
disabledContainerColor: Color,
disabledContentColor: Color,
disabledInactiveContentColor: Color,
focusedSelectedContainerColor: Color,
focusedSelectedContentColor: Color,
pressedSelectedContainerColor: Color,
pressedSelectedContentColor: Color
)
create an instance with arbitrary colors. See NavigationDrawerItemDefaults.colors for the default colors used in a NavigationDrawerItem
| Parameters | |
|---|---|
containerColor: Color |
the default container color used when the |
contentColor: Color |
the default content color used when the |
inactiveContentColor: Color |
the content color used when none of the navigation items have focus |
focusedContainerColor: Color |
the container color used when the |
focusedContentColor: Color |
the content color used when the |
pressedContainerColor: Color |
the container color used when the |
pressedContentColor: Color |
the content color used when the |
selectedContainerColor: Color |
the container color used when the |
selectedContentColor: Color |
the content color used when the |
disabledContainerColor: Color |
the container color used when the |
disabledContentColor: Color |
the content color used when the |
disabledInactiveContentColor: Color |
the content color used when none of the navigation items have focus and this item is disabled |
focusedSelectedContainerColor: Color |
the container color used when the |
focusedSelectedContentColor: Color |
the content color used when the |
pressedSelectedContainerColor: Color |
the container color used when the |
pressedSelectedContentColor: Color |
the content color used when the |
Public functions
Public properties
containerColor
val containerColor: Color
the default container color used when the NavigationDrawerItem is enabled
contentColor
val contentColor: Color
the default content color used when the NavigationDrawerItem is enabled
disabledContainerColor
val disabledContainerColor: Color
the container color used when the NavigationDrawerItem is not enabled
disabledContentColor
val disabledContentColor: Color
the content color used when the NavigationDrawerItem is not enabled
disabledInactiveContentColor
val disabledInactiveContentColor: Color
the content color used when none of the navigation items have focus and this item is disabled
focusedContainerColor
val focusedContainerColor: Color
the container color used when the NavigationDrawerItem is enabled and focused
focusedContentColor
val focusedContentColor: Color
the content color used when the NavigationDrawerItem is enabled and focused
focusedSelectedContainerColor
val focusedSelectedContainerColor: Color
the container color used when the NavigationDrawerItem is enabled, focused and selected
focusedSelectedContentColor
val focusedSelectedContentColor: Color
the content color used when the NavigationDrawerItem is enabled, focused and selected
inactiveContentColor
val inactiveContentColor: Color
the content color used when none of the navigation items have focus
pressedContainerColor
val pressedContainerColor: Color
the container color used when the NavigationDrawerItem is enabled and pressed
pressedContentColor
val pressedContentColor: Color
the content color used when the NavigationDrawerItem is enabled and pressed
pressedSelectedContainerColor
val pressedSelectedContainerColor: Color
the container color used when the NavigationDrawerItem is enabled, pressed and selected
pressedSelectedContentColor
val pressedSelectedContentColor: Color
the content color used when the NavigationDrawerItem is enabled, pressed and selected
selectedContainerColor
val selectedContainerColor: Color
the container color used when the NavigationDrawerItem is enabled and selected
selectedContentColor
val selectedContentColor: Color
the content color used when the NavigationDrawerItem is enabled and selected