OudsSkeletonState

class OudsSkeletonState(initialIsAnimationRunning: Boolean = true)

State object that controls the animation of an OudsSkeleton.

When instantiating this class from a composable, use rememberOudsSkeletonState to automatically save and restore the skeleton state.

Parameters

initialIsAnimationRunning

Whether the animation should be running initially. Defaults to true.

Constructors

Link copied to clipboard
constructor(initialIsAnimationRunning: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the skeleton animation is currently running.

Functions

Link copied to clipboard

Starts the skeleton gradient animation. The animation will loop infinitely until stopAnimation is called.

Link copied to clipboard

Stops the skeleton gradient animation.