xvrh / lottie-flutter

Render After Effects animations natively on Flutter. This package is a pure Dart implementation of a Lottie player.
https://pub.dev/packages/lottie
MIT License
1.16k stars 196 forks source link

Animation Glitch #253

Open summerchill opened 1 year ago

summerchill commented 1 year ago

Hi there,

My lottie animation looks like a timer. https://app.lottiefiles.com/share/bd94b739-5adc-4bff-b2ce-82040d8a2e99

In flutter is is completely out of whack, starts on an angle with a 3/4 circle instead of from zero, rotates independently from my animation, goes back and forth.

I'm on 12fps in After Effects.

What am I doing wrong?

xvrh commented 1 year ago

Hello, the shared link has expired. Can you provide a reproducible example?

summerchill commented 1 year ago

Thanks Xavier:

https://lottiefiles.com/132938-3min-timer

xvrh commented 1 year ago

@summerchill It seems this animation is not working either with Lottie-Android (which this Flutter library is a port).

I see this warning: Lottie doesn't support layer effects. If you are using them for fills, strokes, trim paths etc. then try adding them directly as contents in your shape. Found: [Trim in Duration (seconds), Trim in Reverse Path Direction]