Skip to content
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

Gradient issue triggered when the dynamicGradient field is true #99

Open
MrLi2000 opened this issue Mar 4, 2024 · 0 comments
Open

Gradient issue triggered when the dynamicGradient field is true #99

MrLi2000 opened this issue Mar 4, 2024 · 0 comments

Comments

@MrLi2000
Copy link

MrLi2000 commented Mar 4, 2024

When I set dynamicGradient to true, the gradient color starts from 0-1, but the starting position color is incorrect
The example code is as follows:
SleekCircularSlider( min: 0, max: 1, initialValue: 1, appearance: CircularSliderAppearance( size: 0, customWidths: CustomSliderWidths(progressBarWidth: 10, trackWidth: 9), customColors: CustomSliderColors( progressBarColors: <Color>[ Colors.red, Colors.green, ], dynamicGradient: true, hideShadow: true, ), angleRange: 360, ), onChange: null, ),

The results obtained are as follows:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant