🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

NavigationDrawerItemScale

Defines the scale for all TV Indication states of a NavigationDrawerItem

Source set: Android
class NavigationDrawerItemScale(
    @FloatRange(from = 0.0) val scale: Float,
    @FloatRange(from = 0.0) val focusedScale: Float,
    @FloatRange(from = 0.0) val pressedScale: Float,
    @FloatRange(from = 0.0) val selectedScale: Float,
    @FloatRange(from = 0.0) val disabledScale: Float,
    @FloatRange(from = 0.0) val focusedSelectedScale: Float,
    @FloatRange(from = 0.0) val focusedDisabledScale: Float,
    @FloatRange(from = 0.0) val pressedSelectedScale: Float,
)

Defines the scale for all TV Indication states of a NavigationDrawerItem

Parameters

scale the scale used when the NavigationDrawerItem is enabled
focusedScale the scale used when the NavigationDrawerItem is enabled and focused
pressedScale the scale used when the NavigationDrawerItem is enabled and pressed
selectedScale the scale used when the NavigationDrawerItem is enabled and selected
disabledScale the scale used when the NavigationDrawerItem is not enabled
focusedSelectedScale the scale used when the NavigationDrawerItem is enabled, focused and selected
focusedDisabledScale the scale used when the NavigationDrawerItem is not enabled and focused
pressedSelectedScale the scale 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

Members

Companion

Source set: Android
companion object

Properties

None

Source set: Android
val None =
            NavigationDrawerItemScale(
                scale = 1f,
                focusedScale = 1f,
                pressedScale = 1f,
                selectedScale = 1f,
                disabledScale = 1f,
                focusedSelectedScale = 1f,
                focusedDisabledScale = 1f,
                pressedSelectedScale = 1f,
            )

Signifies the absence of a ScaleIndication in NavigationDrawerItem