CameraResolutionChangedEvent constructor

const CameraResolutionChangedEvent(
  1. int cameraId,
  2. double captureWidth,
  3. double captureHeight
)

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

The captureWidth represents the width of the resulting image in pixels. The captureHeight represents the height of the resulting image in pixels.

Implementation

const CameraResolutionChangedEvent(
  super.cameraId,
  this.captureWidth,
  this.captureHeight,
);