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 #43

Open
xykadra opened this issue Jun 5, 2024 · 0 comments
Open

Gradient Issue #43

xykadra opened this issue Jun 5, 2024 · 0 comments

Comments

@xykadra
Copy link

xykadra commented Jun 5, 2024

After Implementing provided code for gradient, gradient was not applied in right way resulting gradient to transfer to unselected color while unselected color was coded correctly.
CircularStepProgressIndicator( gradientColor: LinearGradient( begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [Colors.cyan, Colors.orangeAccent], ), totalSteps: 100, currentStep: 50, stepSize: 10, selectedColor: Colors.greenAccent, unselectedColor: MediaQuery.of(context).platformBrightness == Brightness.dark ? Colors.grey[900] : CupertinoColors.systemGrey2, padding: 0, width: 80, height: 80, selectedStepSize: 15, roundedCap: (_, __) => true, ),

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