2d-inc / Flare-Flutter

Load and get full control of your Rive files in a Flutter project using this library.
https://rive.app/
MIT License
2.55k stars 468 forks source link

Loop animation, wait until it finish a lap to start another one #62 #182

Closed pazhut closed 4 years ago

pazhut commented 4 years ago

i had tried using FlareProgressIndicator from the above . support case, i got a compile error that iSActive (setter and getter) is missing, i tried adding the following lines:

@override ValueNotifier isActive;

but animation do not run

any suggestion on how to solve this?

Thanks

luigi-rosso commented 4 years ago

Hi @pazhut can you share your source? The isActive property is defined on a FlareController and helps FlareActor know whether or not to continue advancing (updating and drawing) the Flare animation.

pazhut commented 4 years ago

Hi Luigi

i had found an hint on your release notes page that mentioned changing into mixin, i replace the implement statement to with and this seems to be working now

attached is the latest version for your reference

Thanks for your support

paz

On Sun, Oct 27, 2019 at 12:07 PM Luigi Rosso notifications@github.com wrote:

Hi @pazhut https://github.com/pazhut can you share your source? The isActive property is defined on a FlareController and helps FlareActor know whether or not to continue advancing (updating and drawing) the Flare animation.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/2d-inc/Flare-Flutter/issues/182?email_source=notifications&email_token=ANFZIGOUNETFXUGD6A3OD2LQQW4FTA5CNFSM4JFOMMHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECLB2XA#issuecomment-546708828, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANFZIGIADMUEFS6SHJGZQCTQQW4FTANCNFSM4JFOMMHA .