frameRate property

FrameRate? frameRate
final

The number of frames per second to render. Use FrameRate.composition to use the original frame rate of the Lottie composition (default) Use FrameRate.max to advance the animation progression at every frame.

The advantage of using a low frame rate is to preserve the device battery by doing less rendering work.

Implementation

final FrameRate? frameRate;