PodProgressBarConfig constructor

const PodProgressBarConfig({
  1. Color playingBarColor = Colors.red,
  2. Color bufferedBarColor = const Color.fromRGBO(255, 255, 255, 0.38),
  3. Color circleHandlerColor = Colors.red,
  4. bool alwaysVisibleCircleHandler = false,
  5. Color backgroundColor = const Color.fromRGBO(255, 255, 255, 0.24),
  6. GetProgressBarPlayedPaint? getPlayedPaint,
  7. GetProgressBarBufferedPaint? getBufferedPaint,
  8. GetProgressBarHandlePaint? getCircleHandlerPaint,
  9. GetProgressBarBackgroundPaint? getBackgroundPaint,
  10. double height = 3.6,
  11. EdgeInsetsGeometry padding = EdgeInsets.zero,
  12. double circleHandlerRadius = 8,
  13. double curveRadius = 4,
})

Implementation

const PodProgressBarConfig({
  this.playingBarColor = Colors.red,
  this.bufferedBarColor = const Color.fromRGBO(255, 255, 255, 0.38),
  this.circleHandlerColor = Colors.red,
  this.alwaysVisibleCircleHandler = false,
  this.backgroundColor = const Color.fromRGBO(255, 255, 255, 0.24),
  this.getPlayedPaint,
  this.getBufferedPaint,
  this.getCircleHandlerPaint,
  this.getBackgroundPaint,
  this.height = 3.6,
  this.padding = EdgeInsets.zero,
  this.circleHandlerRadius = 8,
  this.curveRadius = 4,
});