VideoPlayer constructor Null safety

VideoPlayer(
  1. VideoPlayerController controller
)

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

Implementation

VideoPlayer(this.controller);