FlCamera constructor

const FlCamera({
  1. Key? key,
  2. Widget? overlay,
  3. Widget? uninitialized,
  4. ValueChanged<FlashState>? onFlashChange,
  5. ValueChanged<CameraZoomState>? onZoomChange,
  6. bool updateReset = false,
  7. CameraInfo? camera,
  8. CameraResolution resolution = CameraResolution.high,
  9. BoxFit fit = BoxFit.fitWidth,
})

Implementation

const FlCamera(
    {Key? key,
    this.overlay,
    this.uninitialized,
    this.onFlashChange,
    this.onZoomChange,
    this.updateReset = false,
    this.camera,
    this.resolution = CameraResolution.high,
    this.fit = BoxFit.fitWidth})
    : super(key: key);