rive-app / rive-flutter

Flutter runtime for Rive
https://rive.app
MIT License
1.21k stars 191 forks source link

Rive doesn't play animation #61

Closed andrvm closed 3 years ago

andrvm commented 3 years ago

rive: 0.6.8 flutter channel stable, 1.22.3, on Linux.

I follow some guides (one, two) to implement rive package with my flutter application. I follow exactly the way as they recommend but whatever file I pick up the file isn't being played by the app. What is wrong with it or it might be an issue?

Thanks!

yanshouwang commented 3 years ago

do you set the correct animation name when create SimpleAnimation?

artboard.addController(_controller = SimpleAnimation('idle'));
mjohnsullivan commented 3 years ago

Is this still an issue for you on the latest Flutter stable?

andrvm commented 3 years ago

do you set the correct animation name when create SimpleAnimation?

artboard.addController(_controller = SimpleAnimation('idle'));

SimpleAnimation('loading') solved the issue.

andrvm commented 3 years ago

Is this still an issue for you on the latest Flutter stable?

No.