CameraCapture constructor

const CameraCapture({
  1. Key? key,
  2. VoidCallback? onCapture,
  3. VoidCallback? onSwitchCamera,
  4. ValueChanged<FlashMode>? onFlashToggle,
  5. Color? shutterColor,
  6. bool showGrid = true,
  7. Widget? child,
})

Implementation

const CameraCapture({
  super.key,
  this.onCapture,
  this.onSwitchCamera,
  this.onFlashToggle,
  this.shutterColor,
  this.showGrid = true,
  this.child,
});