avatar_glow icon indicating copy to clipboard operation
avatar_glow copied to clipboard

[Feature request] glowDuration or numberOfRepeats

Open aytunch opened this issue 3 years ago • 6 comments

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 expose numberOfRepeats?

Also null safety version works, so maybe you can update the package's default as the null safe version? Thanks

aytunch avatar Nov 04 '21 21:11 aytunch

Hi @aytunch I don't get numberOfRepeats thing. What do you mean by make ripple effect 5 times, each with a 1 second duration ?

apgapg avatar Nov 05 '21 05:11 apgapg

Also package is already null safe and published.

apgapg avatar Nov 05 '21 05:11 apgapg

@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 avatar Nov 05 '21 15:11 aytunch

@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.

apgapg avatar Nov 05 '21 16:11 apgapg

Would you try contributing this feature? @aytunch

apgapg avatar Nov 05 '21 16:11 apgapg