VideoPlayer constructor

const VideoPlayer(
  1. VideoPlayerController controller
)

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

Implementation

const VideoPlayer(this.controller);