FlCamera constructor

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

Implementation

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