Skip to content

Commit

Permalink
⚡️ Prefer FlashMode to off for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Jul 28, 2023
1 parent 6d6d72d commit 12eb505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/constants/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class CameraPickerConfig {
this.resolutionPreset = ResolutionPreset.max,
this.imageFormatGroup = ImageFormatGroup.unknown,
this.preferredLensDirection = CameraLensDirection.back,
this.preferredFlashMode = FlashMode.auto,
this.preferredFlashMode = FlashMode.off,
this.lockCaptureOrientation,
this.foregroundBuilder,
this.previewTransformBuilder,
Expand Down

0 comments on commit 12eb505

Please sign in to comment.