MaterialVideoProgressBar constructor
MaterialVideoProgressBar(
- VideoPlayerController controller, {
- double height = kToolbarHeight,
- double barHeight = 10,
- double handleHeight = 6,
- ChewieProgressColors? colors,
- dynamic onDragEnd()?,
- dynamic onDragStart()?,
- dynamic onDragUpdate()?,
- Key? key,
- 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();