-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BarChartRodData asserting You cannot provide both color and gradient at the same time #1121
Comments
Hi @absar, First of all thanks for your well-defined issue. But we can remove the assertion. So we will do the same. |
…property in the BarChartRodData and BackgroundBarChartRodData, #1121.
…roperty in the BarChartRodData and BackgroundBarChartRodData, #1121.
…` property in the BarChartRodData and BackgroundBarChartRodData, #1121.
…` property in the BarChartRodData and BackgroundBarChartRodData, #1121.
@imaNNeo this can be closed as done, right? |
@Peetee06 |
BarChartRodData
is assertingYou cannot provide both color and gradient at the same time
when we give the end users option to switch between color mode and gradient mode. Even though we are either providing color or gradient but it's asserting probably due to lerp between the colors and gradients, the assert inBarChartRodData
is not serving much purpose hence it should be removed, sincePaintExtension
setColorOrGradient
is already handling color and gradient even if both are provided.To Reproduce
Code
Versions
The text was updated successfully, but these errors were encountered: