title: How to use lottie animation in flutter app?
body: <p>I want to animate the Lottie file in the flutter app.
  I tried searching every corner of the internet and failed to find any info on it.</p>
  
  <p>I found out that there is a flutter package "flutter_lottie.dart" and has a function to animate.</p>
  
  <p>There is also an example provided by the author about the usage of the <code>flutter_lottie.dart</code></p>
  
  <p>but this I tried running the exact example : <a href="https://github.com/CameronStuartSmith/flutter_lottie/tree/master/example" rel="noreferrer">flutter Lottie example</a></p>
  
  <p>and it gave the same error:</p>
  
  <pre><code>Creating Method Channel convictiontech/flutter_lottie_0
  E/flutter (11371): [ERROR:flutter/shell/common/shell.cc(199)] Dart Error: Unhandled exception:
  E/flutter (11371): PlatformException(error, java.lang.IllegalStateException: Unable to parse 
  composition
  E/flutter (11371):  at com.airbnb.lottie.LottieAnimationView$2.onResult(LottieAnimationView.java:68)
  </code></pre>
  
  <p>How to use animate using Lottie in flutter?</p>