The DotLottieAnimation composable function provides a range of options for controlling the playback of Lottie animations. You can control the playback speed, canvas size, and looping behavior of the animation.
Playback Control
Multiple Animations .lottie
Intially player renders defaultAnimation from .lottie file. You can change the animation by passing animationId to loadAnimation method on the controller.
Using the manifest().animations you can get the list of animations in the .lottie file.
To learn more about the DotLottieController and its functionalities, refer to the DotLottieController API reference.