FlutterVideoPlayerProgressBar constructor
FlutterVideoPlayerProgressBar({
- Key? key,
- required double barHeight,
- required double handleHeight,
- required bool drawShadow,
- required double position,
- required double duration,
- required double bufferedStart,
- required double bufferedEnd,
- FlutterVideoPlayerProgressBarColors? colors,
- dynamic onDragEnd()?,
- dynamic onDragStart()?,
- dynamic onDragUpdate()?,
- dynamic onSeek(
- double position
- bool drawHandle = true,
- bool drawBuffer = true,
Implementation
FlutterVideoPlayerProgressBar(
{Key? key,
required this.barHeight,
required this.handleHeight,
required this.drawShadow,
required this.position,
required this.duration,
required this.bufferedStart,
required this.bufferedEnd,
FlutterVideoPlayerProgressBarColors? colors,
this.onDragEnd,
this.onDragStart,
this.onDragUpdate,
this.onSeek,
this.drawHandle = true,
this.drawBuffer = true})
: colors = colors ?? FlutterVideoPlayerProgressBarColors(),
super(key: key);