CameraScreen constructor

const CameraScreen({
  1. Key? key,
  2. required VoidCallback? onBack,
  3. bool saveToGallery = true,
  4. void onPhotoCaptured(
    1. String photoPath
    )?,
})

Constructs a CameraScreen.

Implementation

const CameraScreen({
  super.key,
  required this.onBack,
  this.saveToGallery = true,
  this.onPhotoCaptured,
});