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

Please add the option to pass custom GradientTransform for gradients #76

Open
cirediew opened this issue Feb 9, 2022 · 0 comments
Open

Comments

@cirediew
Copy link

cirediew commented Feb 9, 2022

Please add the option to pass our own custom GradientTransform to the track and progress gradient.

For example:

CustomSliderColors(
                  trackColor: Colors.grey,
                  progressBarColors: [Colors.red, Colors.green, Colors.blue],
                  progressTransform: GradientRotation(45 * (pi/180))
                )

This will rotate the progress gradient by 45 degrees.

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