pulse
Applies a pulsating effect that is drawn behind the composable element. This effect creates a visual appearance where the background pulse scales up and fades out in a loop, simulating a pulsating effect.
Return
A Modifier that applies the pulsating effect behind the composable element.
Parameters
The scale to which the pulse effect will grow during the animation.
The starting scale of the pulse effect. Default to the component size. If you want to draw the pulse on a component with a transparent background then you should set this to be inferior than 1f otherwise you will get a flashing effect at the start of each pulse
The color used to fill the pulse effect.
The shape of the pulse effect.
The animation specification.
Applies a pulsating effect that is drawn behind the composable element. This effect creates a visual appearance where the background pulse scales up and fades out in a loop, simulating a pulsating effect.
Return
A Modifier that applies the pulsating effect behind the composable element.
Parameters
The scale to which the pulse effect will grow during the animation.
The starting scale of the pulse effect.
The brush used to fill the pulse effect.
The shape of the pulse effect.
The animation specification.