CameraController constructor
CameraController({
- required CameraDevice device,
- required List<
CameraOutput> outputs,
Construct a CameraController.
Implementation
CameraController({required this.device, required this.outputs})
: assert(
outputs.any((CameraOutput output) => output is PreviewOutput),
'At least one output should be a PreviewOutput.',
);