setPhotoSize static method

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

Just for android you can set a different size for preview and for photo

Implementation

static Future<void> setPhotoSize(int width, int height) {
  return _channel.invokeMethod<void>('setPhotoSize', <String, dynamic>{
    'width': width,
    'height': height,
  });
}