line_animator icon indicating copy to clipboard operation
line_animator copied to clipboard

can i do play and pause feature while animation?

Open Bhautik2013 opened this issue 2 years ago • 1 comments

Bhautik2013 avatar Mar 10 '23 15:03 Bhautik2013

Good question, you may be able to if you provide an AnimationController to it, and then use a stop/forward/reverse (although the code looks like it may init a new one, but may need a tweak in initState line 207 if so, to only assign if one doesn't exist already...pull requests welcome). It's a while since I've looked at this code, so apologies its not as fresh in my mind! :).

ibrierley avatar Mar 10 '23 16:03 ibrierley