INNER CODE UNIT · Dart
opacityStep
matthewfx/sleek_circular_slider · lib/src/curve_painter.dart:102
final opacityStep = maxOpacity / repetitions;
return ShadowConfig(
step: step,
maxOpacity: maxOpacity,
repetitions: repetitions,
opacityStep: opacityStep,
);
}
void _drawProgressBar(Canvas canvas, Size size) {
final progressBarPaint =
Paint()
..shader = _createProgressBarGradient().createShader(progressBarRect!)
..strokeCap = StrokeCap.round
..style = PaintingStyle.stroke
..strokeWidth = appearance.progressBarWidth;