AwesomeCameraPreview constructor
const
AwesomeCameraPreview({
- Key? key,
- Widget? loadingWidget,
- required CameraState state,
- OnPreviewTap? onPreviewTap,
- OnPreviewScale? onPreviewScale,
- CameraPreviewFit previewFit = CameraPreviewFit.cover,
- required CameraLayoutBuilder interfaceBuilder,
- CameraLayoutBuilder? previewDecoratorBuilder,
- required EdgeInsets padding,
- required Alignment alignment,
- 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,
});