Skip to content

Commit 12eb505

Browse files
committed
⚡️ Prefer FlashMode to off for better performance
1 parent 6d6d72d commit 12eb505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/constants/config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class CameraPickerConfig {
3434
this.resolutionPreset = ResolutionPreset.max,
3535
this.imageFormatGroup = ImageFormatGroup.unknown,
3636
this.preferredLensDirection = CameraLensDirection.back,
37-
this.preferredFlashMode = FlashMode.auto,
37+
this.preferredFlashMode = FlashMode.off,
3838
this.lockCaptureOrientation,
3939
this.foregroundBuilder,
4040
this.previewTransformBuilder,

0 commit comments

Comments
 (0)