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.15k stars 197 forks source link

Animation flutter is not working properly #275

Open phuongkna79 opened 1 year ago

phuongkna79 commented 1 year ago

Dear @xvrh,

This animation is not working properly on flutter same issues: #243, link: https://lottiefiles.com/73194-happy-birthday (https://assets3.lottiefiles.com/private_files/lf30_kkceplqe.json).

Thanks!

xvrh commented 1 year ago

I think this is because the animation uses expressions which are not supported.

zakiso commented 1 year ago

Could anyone can be support expressions . Same issue here

srinivas-nahak commented 1 year ago

I'm facing the same issue and I'm using the expression for "ping-pong" effect in After effects. Without the expression the animation is not looking smooth but by adding it, it's not playing properly in flutter.

xvrh commented 1 year ago

@srinivas-nahak in After effects you can convert your expression to keyframes.

srinivas-nahak commented 1 year ago

Yes after experimenting a lot, I did that exactly and now I got the desired effect.

@xvrh thanks for your suggestion :)

Also, I think it would be really helpful to mention this point about "No support for expression" in the readme file.