CameraCapture constructor
const
CameraCapture({
- Key? key,
- VoidCallback? onCapture,
- VoidCallback? onSwitchCamera,
- ValueChanged<
FlashMode> ? onFlashToggle, - Color? shutterColor,
- bool showGrid = true,
- Widget? child,
Implementation
const CameraCapture({
super.key,
this.onCapture,
this.onSwitchCamera,
this.onFlashToggle,
this.shutterColor,
this.showGrid = true,
this.child,
});