rememberSkapaButtonIndication
fun rememberSkapaButtonIndication(resizeFactor: Float = SkapaAnimation.SizeFactors.RegularComponents, animationSpec: AnimationSpec<Float> = SkapaAnimation.PressAnimationSpec, color: Color? = null, cornersRadius: Dp = Dp.Unspecified, scale: Animatable<Float, AnimationVector1D>): Indication(source)
Creates a Skapa-styled Indication for buttons.
This indication provides a press animation with a configurable resize factor, animation specification, color, corner radius, and scale animation.
Return
A Skapa-styled Indication for buttons.
Parameters
resizeFactor
The factor by which the button will be scaled down when pressed.
animationSpec
The animation specification for the press and release animations.
color
The color of the indication overlay when the button is pressed.
cornersRadius
The corner radius of the indication overlay.
scale
The animatable scale value to be used for the button's press animation.