CardScale
Class
Android
class CardScale
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
)
Represents the scaleFactor of Card in different interaction states. Note: This scaleFactor must always be a non-negative float.
Companion Object
Properties
Android
val None = CardScale(scale = 1f, focusedScale = 1f, pressedScale = 1f)
Signifies the absence of a ScaleIndication
in Card component.