VideoScrubber constructor

const VideoScrubber({
  1. Key? key,
  2. required Widget child,
  3. required VideoPlayerController controller,
})

Create a VideoScrubber handler with the given child.

controller is the VideoPlayerController that will be controlled by this scrubber.

Implementation

const VideoScrubber({
  super.key,
  required this.child,
  required this.controller,
});