AnimatedComponent

Interface for components that can be animated.

Inheritors

Properties

Link copied to clipboard
abstract val isAnimating: StateFlow<Boolean>

Whether an animation is currently running.

Functions

Link copied to clipboard
abstract fun startAnimation(animation: Animation)

Start an animation.

Link copied to clipboard
abstract fun stopAnimation()

Stop the current animation.