PodProgressBarConfig constructor
const
PodProgressBarConfig({
- Color playingBarColor = Colors.red,
- Color bufferedBarColor = const Color.fromRGBO(255, 255, 255, 0.38),
- Color circleHandlerColor = Colors.red,
- bool alwaysVisibleCircleHandler = false,
- Color backgroundColor = const Color.fromRGBO(255, 255, 255, 0.24),
- GetProgressBarPlayedPaint? getPlayedPaint,
- GetProgressBarBufferedPaint? getBufferedPaint,
- GetProgressBarHandlePaint? getCircleHandlerPaint,
- GetProgressBarBackgroundPaint? getBackgroundPaint,
- double height = 3.6,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- double circleHandlerRadius = 8,
- 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,
});