MaterialVideoProgressBar constructor

MaterialVideoProgressBar(
  1. VideoPlayerController controller, {
  2. double height = kToolbarHeight,
  3. double barHeight = 10,
  4. double handleHeight = 6,
  5. ChewieProgressColors? colors,
  6. dynamic onDragEnd()?,
  7. dynamic onDragStart()?,
  8. dynamic onDragUpdate()?,
  9. Key? key,
  10. bool draggableProgressBar = true,
})

Implementation

MaterialVideoProgressBar(
  this.controller, {
  this.height = kToolbarHeight,
  this.barHeight = 10,
  this.handleHeight = 6,
  ChewieProgressColors? colors,
  this.onDragEnd,
  this.onDragStart,
  this.onDragUpdate,
  super.key,
  this.draggableProgressBar = true,
}) : colors = colors ?? ChewieProgressColors();