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