Closed NachiketaVadera closed 3 years ago
Same issue
I suspect it's because _riveArtboard is null while the file is loading from the bundle. Check how the examples handle this condition: https://github.com/rive-app/rive-flutter/blob/607a8a3ee4ca83b452ae92d0ad141cd02139c079/example/lib/example_animation.dart#L55
@NachiketaVadera @breitburg closing this for now; if @luigi-rosso 's suggestion has not helped resolve the problem, please reopen.
To use rive in multiple places, I created a wrapper widget around the Rive widget.
While using this widget, I get an error saying:
Sometimes, the Animation gets displayed but other times I see the Flutter error screen.
What's the issue here?