focusOnPoint method

Future<void> focusOnPoint({
  1. required Offset flutterPosition,
  2. required PreviewSize pixelPreviewSize,
  3. required PreviewSize flutterPreviewSize,
  4. AndroidFocusSettings? androidFocusSettings,
})

Implementation

Future<void> focusOnPoint({
  required Offset flutterPosition,
  required PreviewSize pixelPreviewSize,
  required PreviewSize flutterPreviewSize,
  AndroidFocusSettings? androidFocusSettings,
}) {
  return cameraContext.focusOnPoint(
    flutterPosition: flutterPosition,
    pixelPreviewSize: pixelPreviewSize,
    flutterPreviewSize: flutterPreviewSize,
    androidFocusSettings: androidFocusSettings,
  );
}