Camera is taking too long to take a picture

This commit is contained in:
Vadim 2023-08-01 12:58:43 +02:00
parent 40c670ad30
commit 6a9036ce5e
2 changed files with 2 additions and 1 deletions

View file

@ -129,6 +129,7 @@ class CameraContainerBloc extends EvSourceBlocBase<CameraContainerEvent, CameraC
await _cameraController!.initialize();
await _cameraController!.setFlashMode(FlashMode.off);
await _cameraController!.setFocusMode(FocusMode.locked);
_zoomRange = await Future.wait<double>([
_cameraController!.getMinZoomLevel(),

View file

@ -9,7 +9,7 @@ environment:
dependencies:
app_settings: 4.2.0
bloc_concurrency: 0.2.2
camera: 0.10.5
camera: 0.10.5+2
clipboard: 0.1.3
dynamic_color: 1.6.5
exif: 3.1.4