setControllerPreset abstract method Null safety
- CameraControllerPreset preset
Set a preset configuration for a CameraController.
To guarantee that a CameraOutput returns a value from CameraOutput.outputSize, a user should await the future returned by this method.
Implementation
Future<void> setControllerPreset(CameraControllerPreset preset);