AwesomeCameraPreview constructor

const AwesomeCameraPreview({
  1. Key? key,
  2. Widget? loadingWidget,
  3. required CameraState state,
  4. OnPreviewTap? onPreviewTap,
  5. OnPreviewScale? onPreviewScale,
  6. CameraPreviewFit previewFit = CameraPreviewFit.cover,
  7. required CameraLayoutBuilder interfaceBuilder,
  8. CameraLayoutBuilder? previewDecoratorBuilder,
  9. required EdgeInsets padding,
  10. required Alignment alignment,
  11. PictureInPictureConfigBuilder? pictureInPictureConfigBuilder,
})

Implementation

const AwesomeCameraPreview({
  super.key,
  this.loadingWidget,
  required this.state,
  this.onPreviewTap,
  this.onPreviewScale,
  this.previewFit = CameraPreviewFit.cover,
  required this.interfaceBuilder,
  this.previewDecoratorBuilder,
  required this.padding,
  required this.alignment,
  this.pictureInPictureConfigBuilder,
});