setCameraExposurePositionInPreview method

Future<bool> setCameraExposurePositionInPreview(
  1. double x,
  2. double y
)

Implementation

Future<bool> setCameraExposurePositionInPreview(double x, double y) async {
  Map<String, dynamic> arguments = {
    "x": x,
    "y": y,
  };
  bool? success = await channel.invokeMethod("setCameraExposurePositionInPreview", arguments);
  return success ?? false;
}