CameraSetting constructor

const CameraSetting({
  1. ResolutionPreset resolutionPreset = ResolutionPreset.high,
  2. ImageFormatGroup imageFormatGroup = ImageFormatGroup.jpeg,
  3. Duration videoDuration = const Duration(seconds: 10),
  4. bool editAfterCapture = true,
  5. bool enableGallery = true,
})

Implementation

const CameraSetting({
  this.resolutionPreset = ResolutionPreset.high,
  this.imageFormatGroup = ImageFormatGroup.jpeg,
  this.videoDuration = const Duration(seconds: 10),
  this.editAfterCapture = true,
  this.enableGallery = true,
});