Rive and Lottie animations not working properly

Widgets & Design

When I insert Lottie or Rive animation into my FlutterFlow page and set them to play once, they play and then go and stop at the first frame again, rather than stopping at the last frame. So how can I make them to play once and stop at the last frame?

What have you tried so far?

As ChatGPT recommended, in Rive, I created an additional state inside the current State Machine, and set no animation to it. Then I connected my current animation state to that empty state, so that the animation transitions into the empty state and stops. In Rive everything works fine. But not in FlutterFlow.

Did you check FlutterFlow's Documentation for this topic?
Yes