FlCamera constructor

const FlCamera({
  1. Key? key,
  2. Widget? overlay,
  3. FlCameraFlashStateChanged? onFlashChanged,
  4. FlCameraCameraZoomStateChanged? onZoomChanged,
  5. bool updateReset = false,
  6. CameraInfo? camera,
  7. CameraResolution resolution = CameraResolution.high,
  8. BoxFit fit = BoxFit.fitWidth,
  9. Widget? uninitialized,
})

Implementation

const FlCamera(
    {super.key,
    this.overlay,
    this.onFlashChanged,
    this.onZoomChanged,
    this.updateReset = false,
    this.camera,
    this.resolution = CameraResolution.high,
    this.fit = BoxFit.fitWidth,
    this.uninitialized});