step-progress-indicator icon indicating copy to clipboard operation
step-progress-indicator copied to clipboard

Gradient Issue

Open xykadra opened this issue 1 month ago • 0 comments

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, ),

xykadra avatar Jun 05 '24 00:06 xykadra