We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4962639 commit 8b0da74Copy full SHA for 8b0da74
lib/src/widget/camera_picker.dart
@@ -613,12 +613,10 @@ class CameraPickerState extends State<CameraPicker>
613
);
614
_restartPointDisplayTimer();
615
_currentExposureOffset.value = 0;
616
+ await controller.setExposureOffset(0);
617
if (_exposureMode.value == ExposureMode.locked) {
618
+ await controller.setExposureMode(ExposureMode.auto);
619
_exposureMode.value = ExposureMode.auto;
- await Future.wait(<Future<void>>[
- controller.setExposureOffset(0),
620
- controller.setExposureMode(ExposureMode.auto),
621
- ]);
622
}
623
controller.setExposurePoint(
624
_lastExposurePoint.value!.scale(1 / Screens.width, 1 / Screens.height),
0 commit comments