setExposureMode method

Future<void> setExposureMode(
  1. ExposureMode mode
)

Implementation

Future<void> setExposureMode(ExposureMode mode) async {
  if (!_initialized) return;

  try {
    await _controller.setExposureMode(mode);
  } on CameraException catch (e) {
    _uiHandler.showExceptionSnackbar(e);
    rethrow;
  }
}