bluemix / Gradient-Widgets

Flutter widgets wrapped with gradients
Apache License 2.0
348 stars 48 forks source link

GradientProgressIndicator uses the first color as a background color #8

Closed ride4sun closed 4 years ago

ride4sun commented 5 years ago

That might be a good default behavior but there should be a dedicated background. Maybe a gradient as well - probably both

bluemix commented 5 years ago

if it has a dedicated background color other than from the gradient, GradientProgressIndicator will be inconsistent. I mean, GradientProgressIndicator's colors should be based upon the gradient it is assigned to it

ride4sun commented 5 years ago

Maybe the default is "as is" but there could be a setting which gives you the possibility to assign a gradient or color to redefine the default behavior. Thx.

bluemix commented 4 years ago

the background color should be extracted from the gradient colors. i'll close this issue, unless a new method for picking a background color is provided.