Class

NavigationDrawerItemShape

Defines Shape for all TV Indication states of a NavigationDrawerItem

Source set: Android
class NavigationDrawerItemShape(
    val shape: Shape,
    val focusedShape: Shape,
    val pressedShape: Shape,
    val selectedShape: Shape,
    val disabledShape: Shape,
    val focusedSelectedShape: Shape,
    val focusedDisabledShape: Shape,
    val pressedSelectedShape: Shape,
)

Defines Shape for all TV Indication states of a NavigationDrawerItem

Parameters

shape the default shape used when the NavigationDrawerItem is enabled
focusedShape the shape used when the NavigationDrawerItem is enabled and focused
pressedShape the shape used when the NavigationDrawerItem is enabled and pressed
selectedShape the shape used when the NavigationDrawerItem is enabled and selected
disabledShape the shape used when the NavigationDrawerItem is not enabled
focusedSelectedShape the shape used when the NavigationDrawerItem is enabled, focused and selected
focusedDisabledShape the shape used when the NavigationDrawerItem is not enabled and focused
pressedSelectedShape the shape used when the NavigationDrawerItem is enabled, pressed and selected

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

toString

Source set: Android
override fun toString(): String
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: