An Android implementation of camera that uses the CameraX library.

Note: This package is under development, so please note the missing features and limitations, but otherwise feel free to try out the current implementation and provide any feedback by filing issues under flutter/flutter with [camerax] in the title, which will be actively triaged.


This package is non-endorsed; the endorsed Android implementation of camera is camera_android. To use this implementation of the plugin instead of camera_android, you will need to specify it in your pubsepc.yaml file as a dependency in addition to camera:

  # ...along with your other dependencies
  camera: ^0.10.4
  camera_android_camerax: ^0.5.0

Missing features and limitations

Resolution configuration [Issue #120462]

Any specified ResolutionPreset wll go unused in favor of CameraX defaults and onCameraResolutionChanged is unimplemented.

Locking/Unlocking capture orientation [Issue #125915]

lockCaptureOrientation & unLockCaptureOrientation are unimplemented.

Flash mode configuration [Issue #120715]

setFlashMode is unimplemented.

Exposure mode, point, & offset configuration [Issue #120468]

setExposureMode, setExposurePoint, & setExposureOffset are unimplemented.

Focus mode & point configuration [Issue #120467]

setFocusMode & setFocusPoint are unimplemented.

Zoom configuration [Issue #125371]

setZoomLevel is unimplemented.


For more information on contributing to this plugin, see