VideoPlayer constructor
const
VideoPlayer(
- VideoPlayerController controller, {
- Key? key,
- double scale = 1.0,
Uses the given controller for all video rendered in this widget.
Implementation
const VideoPlayer(this.controller, {super.key, this.scale = 1.0});