setExposureOffset method

Future<void> setExposureOffset(
  1. double offset
)

Sets exposure compensation offset value.

Implementation

Future<void> setExposureOffset(double offset) async {
  if (_cameraController != null && _cameraController!.value.isInitialized) {
    try {
      await _cameraController!.setExposureOffset(offset);
    } catch (_) {}
  }
}