FlutterVideoPlayerProgressBar constructor

FlutterVideoPlayerProgressBar({
  1. Key? key,
  2. required double barHeight,
  3. required double handleHeight,
  4. required bool drawShadow,
  5. required double position,
  6. required double duration,
  7. required double bufferedStart,
  8. required double bufferedEnd,
  9. FlutterVideoPlayerProgressBarColors? colors,
  10. dynamic onDragEnd()?,
  11. dynamic onDragStart()?,
  12. dynamic onDragUpdate()?,
  13. dynamic onSeek(
    1. double position
    )?,
  14. bool drawHandle = true,
  15. 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);