CameraInitializedEvent constructor

const CameraInitializedEvent(
  1. int cameraId,
  2. double previewWidth,
  3. double previewHeight,
  4. ExposureMode exposureMode,
  5. bool exposurePointSupported,
  6. FocusMode focusMode,
  7. bool focusPointSupported,
)

Build a CameraInitialized event triggered from the camera represented by cameraId.

The previewWidth represents the width of the generated preview in pixels. The previewHeight represents the height of the generated preview in pixels.

Implementation

const CameraInitializedEvent(
  super.cameraId,
  this.previewWidth,
  this.previewHeight,
  this.exposureMode,
  this.exposurePointSupported,
  this.focusMode,
  this.focusPointSupported,
);