defaultScaleAnimationSpec

@Stable
fun defaultScaleAnimationSpec(pressed: Boolean, focused: Boolean, hovered: Boolean): TweenSpec<Float>

Creates a TweenSpec configured with the default duration, delay and easing curve for the state pressed, focused&&hovered.

Can be used as a base when building custom scale animation specs.

Since

0.6.0

Parameters

pressed

whether the element is currently pressed.

focused

whether the element is currently focused.

hovered

whether the element is currently hovered.