apgapg / avatar_glow

A Flutter Package providing Avatar Glow Widget
https://pub.dartlang.org/packages/avatar_glow
MIT License
276 stars 48 forks source link

Can it be a way to choose the color opacity? #18

Open devsportties opened 3 years ago

devsportties commented 3 years ago

I am trying to use this in the black background. However, I barely see the animation! Other than this, I am super duper happy with the widget tho.

apgapg commented 3 years ago

I see that i dont have hardcoded color opacity value in package code. You can try supplying custom color using glowColor parameter

felipejcz commented 3 years ago

it would be great to be able to change the opacity.

apgapg commented 3 years ago

@felipejcz You can use glowColor: Colors.blue.withOpacity(0.7)

felipejcz commented 3 years ago

@felipejcz You can use glowColor: Colors.blue.withOpacity(0.7)

in my case I would like the shadow to be more vivid, I only got the effect by changing it in the library but when the button finishes the action the shadow doesn't disappear, it freezes in position.

apgapg commented 3 years ago

@felipejcz Sorry i couldnt understand. Can you explain via a screenshot?