ImageSliderPainter constructor
ImageSliderPainter({})
Implementation
ImageSliderPainter({
required this.sliderPosition,
required this.sliderPercentage,
required this.color,
required this.imageWidth,
required this.borderColor,
required this.strokeWidth,
required this.anchorWidth,
required this.borderWidth,
required this.len,
}) : fillPainter = Paint()
..color = color
..style = PaintingStyle.fill,
borderFillPainter = Paint()
..color = borderColor
..style = PaintingStyle.fill,
sliderPainter = Paint()
..color = color
..style = PaintingStyle.stroke
..strokeWidth = strokeWidth,
borderSliderPainter = Paint()
..color = borderColor
..style = PaintingStyle.stroke
..strokeWidth = ((imageWidth) + (borderWidth * 2)),
imagePainter = Paint();