getPreviewSize method

Future<CameraSize> getPreviewSize()

Returns the dimensions setting for preview pictures.

Implementation

Future<CameraSize> getPreviewSize() async {
  return await _channel.$getPreviewSize(this) as CameraSize;
}