VideoView constructor Null safety

const VideoView(
  1. {required VideoPlayerController controller,
  2. bool loop = true,
  3. bool autoplay = true,
  4. Key? key}
)

Implementation

const VideoView({
  required this.controller,
  this.loop = true,
  this.autoplay = true,
  Key? key,
}) : super(key: key);