Closed apomalyn closed 3 years ago
try to change this:
SizedBox(width: 42, height: 42, child: Rive(artboard: _artboard))
to this:
SizedBox(
width: 42,
height: 42,
child: _riveArtBoard == null
? const SizedBox()
: Rive(artboard: _riveArtBoard),
)
in other words it seems like _artboard is not initialized yet when widget is building
That was exactly that! Thank you!
Hi!
I'm trying to use an animation realized with Rive2, but when the render start the following error is thrown:
And there is the class I use:
If anyone have an idea ? ^^'