title: Error running flare/ rive animation in flutter web
body: <p>I have developed an app now using the same animation in the flutter web. But its throwing error. I have downloaded the binary file of flutter and provided it to the flare but it doesn't work. The same code works well in android but throwing error in flutter web Plzz help.
  Error:</p>
  
  <pre><code>Error: [object Event]
  
  
      at Object.createErrorWithStack (http://localhost:62576/dart_sdk.js:4789:12)
      at Object._rethrow (http://localhost:62576/dart_sdk.js:35903:16)
      at async._AsyncCallbackEntry.new.callback
      (http://localhost:62576/dart_sdk.js:35899:13)
      at Object._microtaskLoop (http://localhost:62576/dart_sdk.js:35759:13)
      at _startMicrotaskLoop (http://localhost:62576/dart_sdk.js:35765:13)
      at http://localhost:62576/dart_sdk.js:31707:9
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>
  class Home extends StatefulWidget {
    @override
    _HomeState createState() =&gt; _HomeState();
  }
  
  class _HomeState extends State&lt;Home&gt; {
    String animationName = "forward";
    bool paused;
    @override
    void initState() {
      // TODO: implement initState
      super.initState();
      animationName = "forward";
      paused = false;
    }
  
    @override
    Widget build(BuildContext context) {
      return Container(
        child: FlareActor(
          "flare_truck.flr",
          animation: animationName,
          fit: BoxFit.fitHeight,
          alignment: Alignment(0, 0),
          callback: (str) {
            setState(
              () {
                animationName = "upDown";
              },
            );
          },
        ),
      );
    }
  }
  </code></pre>