SingleBarPainter constructor

SingleBarPainter({
  1. required Color backgroundColor,
  2. double barBorderRadius = 0,
  3. required double singleBarWidth,
  4. required double maxSeekBarHeight,
  5. required double actualSeekBarHeight,
  6. required double heightOfContainer,
  7. required double startingPosition,
})

Implementation

SingleBarPainter({
  required this.backgroundColor,
  this.barBorderRadius = 0,
  required this.singleBarWidth,
  required this.maxSeekBarHeight,
  required this.actualSeekBarHeight,
  required this.heightOfContainer,
  required this.startingPosition,
})  : trackPaint = Paint()
        ..color = barColor
        ..style = PaintingStyle.fill,
      aboveAndBelowPaint = Paint()
        ..color = backgroundColor
        ..style = PaintingStyle.fill;