2

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:

enter image description here

Raj Dhakad
  • 852
  • 2
  • 17
  • 39

2 Answers2

0

I contacted the lottie help section about an issue, and they said some of the animation features are not supported.

You can check here https://prnt.sc/tSKXVZDgjBE5

https://lottiefiles.com/supported-features

Jasmin Sojitra
  • 1,090
  • 10
  • 24
  • Any way to use Lottie Web on Flutter? – Raj Dhakad Jul 19 '22 at 10:51
  • You can try other animations if some aren't working, I've tried this and it works. https://assets10.lottiefiles.com/packages/lf20_AQEOul.json Lottie file:https://lottiefiles.com/9582-liquid-4-dot-loader – Jasmin Sojitra Jul 19 '22 at 10:58
0

I have used a similar plugin that supports Flutter; you can give https://pag.art/ a try.

  • Answer is unclear As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](https://stackoverflow.com/help/how-to-answer). – moken May 26 '23 at 12:59