InteractiveSliderPainter constructor
InteractiveSliderPainter({
- required ValueNotifier<
double> progress, - required Color color,
- Gradient? gradient,
- required GradientSize gradientSize,
- int? numberOfSegments,
- required Color segmentDividerColor,
- required double segmentDividerWidth,
Implementation
InteractiveSliderPainter({
required this.progress,
required Color color,
this.gradient,
required this.gradientSize,
this.numberOfSegments,
required this.segmentDividerColor,
required this.segmentDividerWidth,
}) : _rectPaint = Paint()..color = color,
super(repaint: progress);