createCameraController method

  1. @override
CameraController createCameraController({
  1. required covariant CameraDevice device,
  2. required List<CameraOutput> outputs,
})
override

Create an instance of CameraController.

A platform implementation of PenguinCameraPlatform should implement a class of CameraController and return it here.

Implementation

@override
CameraController createCameraController({
  required covariant CameraDevice device,
  required List<CameraOutput> outputs,
}) {
  return CameraController(device: device, outputs: outputs);
}