setPhotoSize static method

Future<void> setPhotoSize(
  1. int width,
  2. int height
)

you can set a different size for preview and for photo for iOS, when taking a photo, best quality is automatically used

Implementation

static Future<void> setPhotoSize(int width, int height) {
  return CameraInterface().setPhotoSize(
    PreviewSize(
      width: width.toDouble(),
      height: height.toDouble(),
    ),
  );
}