BetterVideoPlayerProgressBar constructor

BetterVideoPlayerProgressBar({
  1. BetterVideoPlayerProgressColors? colors,
  2. required Function onDragEnd,
  3. required Function onDragStart,
  4. Function? onDragUpdate,
  5. double height = 3,
  6. Key? key,
})

Implementation

BetterVideoPlayerProgressBar({
  BetterVideoPlayerProgressColors? colors,
  required this.onDragEnd,
  required this.onDragStart,
  this.onDragUpdate,
  this.height = 3,
  Key? key,
})  : colors = colors ?? BetterVideoPlayerProgressColors(),
      super(key: key);