setPhotoSize static method
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(),
),
);
}