UCapturedPhoto constructor

const UCapturedPhoto({
  1. required int width,
  2. required int height,
  3. String? path,
  4. Uint8List? bytes,
  5. UPhotoFormat format = UPhotoFormat.jpeg,
  6. int orientation = 0,
  7. bool mirrored = false,
  8. int sizeInBytes = 0,
  9. Uint8List? thumbnail,
  10. Map<String, Object?> metadata = const <String, Object?>{},
})

Implementation

const UCapturedPhoto({
  required this.width,
  required this.height,
  this.path,
  this.bytes,
  this.format = UPhotoFormat.jpeg,
  this.orientation = 0,
  this.mirrored = false,
  this.sizeInBytes = 0,
  this.thumbnail,
  this.metadata = const <String, Object?>{},
});