setPreviewSize static method

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

Implementation

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