VideoCaptureOutput constructor Null safety

VideoCaptureOutput(
  1. {bool includeAudio = false}
)

Construct a VideoCaptureOutput.

By default, audio is not included when recording video. Set includeAudio to true, to include audio when recording.

Implementation

factory VideoCaptureOutput({bool includeAudio = false}) {
  return PenguinCameraPlatform.instance.createVideoCaptureOutput();
}