Open aytunch opened 2 years ago
Hi @aytunch I don't get numberOfRepeats
thing.
What do you mean by make ripple effect 5 times, each with a 1 second duration
?
Also package is already null safe and published.
@apgapg right now we can tell the AvatarGlow to Not animate(animate=false) Animate once(repeat=false) Animate forever(repeat=true)
I want to have a repeat count. This will repeat the glow animation n times and then stop.
Yeah I use the null safe version but the version name is very long
@aytunch Got that now. You need to define repeat count number. Need to figure out on how to do this. May be a variable counter.
Would you try contributing this feature? @aytunch
Added this change in below PR: https://github.com/apgapg/avatar_glow/pull/39
by using
duration
we set the animation duration of a single ripple effect. But I want the AvatarGlow to make ripple effect 5 times, each with a 1 second duration For the current API we can not do this. Can you please exposenumberOfRepeats
?Also null safety version works, so maybe you can update the package's default as the null safe version? Thanks