Class

SelectableChipScale

Defines the scale for all TV states of SelectableChip.

Source set: Android
class SelectableChipScale internal constructor(
    @FloatRange(from = 0.0) internal val scale: Float,
    @FloatRange(from = 0.0) internal val focusedScale: Float,
    @FloatRange(from = 0.0) internal val pressedScale: Float,
    @FloatRange(from = 0.0) internal val selectedScale: Float,
    @FloatRange(from = 0.0) internal val disabledScale: Float,
    @FloatRange(from = 0.0) internal val focusedSelectedScale: Float,
    @FloatRange(from = 0.0) internal val focusedDisabledScale: Float,
    @FloatRange(from = 0.0) internal val pressedSelectedScale: Float,
    @FloatRange(from = 0.0) internal val selectedDisabledScale: Float,
    @FloatRange(from = 0.0) internal val focusedSelectedDisabledScale: Float,
)

Defines the scale for all TV states of SelectableChip. Note: This scale must always be a non-negative float.

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 =
            SelectableChipScale(
                scale = 1f,
                focusedScale = 1f,
                pressedScale = 1f,
                selectedScale = 1f,
                disabledScale = 1f,
                focusedSelectedScale = 1f,
                focusedDisabledScale = 1f,
                pressedSelectedScale = 1f,
                selectedDisabledScale = 1f,
                focusedSelectedDisabledScale = 1f,
            )

Signifies the absence of a ScaleIndication in SelectableChip component.

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: