VideoPlayer constructor

const VideoPlayer(
  1. VideoPlayerController controller, {
  2. Key? key,
})

Uses the given controller for all video rendered in this widget.

Implementation

const VideoPlayer(this.controller, {super.key});