Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit f47e1de

Browse files
Use medium resolution preset for the example.
1 parent 1ad58c8 commit f47e1de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/camera/example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class _CameraExampleHomeState extends State<CameraExampleHome> {
203203
if (controller != null) {
204204
await controller.dispose();
205205
}
206-
controller = CameraController(cameraDescription, ResolutionPreset.veryLow);
206+
controller = CameraController(cameraDescription, ResolutionPreset.medium);
207207

208208
// If the controller is updated then update the UI.
209209
controller.addListener(() {

0 commit comments

Comments
 (0)