CameraBuilder constructor

const CameraBuilder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext,
    2. CameraController
    ),
  3. dynamic onImageReceived(
    1. CameraImage,
    2. CameraDescription
    )?,
  4. dynamic onPermissionDenied()?,
  5. dynamic onError(
    1. String
    )?,
  6. dynamic onZoomChanged(
    1. double
    )?,
  7. bool enableZoom = false,
})

Implementation

const CameraBuilder({
  Key? key,
  required this.builder,
  this.onImageReceived,
  this.onPermissionDenied,
  this.onError,
  this.onZoomChanged,
  this.enableZoom = false,
}) : super(key: key);