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 works on Player but not in Flutter #224

Open xcreateadmin opened 2 years ago

xcreateadmin commented 2 years ago

Lottie animation works absolutely fine in lottie player but does not work in Flutter Web or Flutter Android. (Haven't tested on iOS)

Animation: https://lottiefiles.com/113275-sad-character

Code:

LottieBuilder.network("https://assets4.lottiefiles.com/packages/lf20_7gs6bvae.json",
                      controller: lottieController,)

This is how it looks on Android or Flutter Web:

Screenshot 2022-07-19 at 3 37 59 PM
rafaelbarbosadrip commented 2 years ago

I have a simular problem.

rdcoder33 commented 2 years ago

Maybe this issue duplicates this one? #219

Thanks for taking interest but, in #219 after effect's multiply mode doesn't work. In this case (#224) Animation works good in player but does not works on device no matter what's the mode is.