onCaptureOrientationLockButtonPressed method

Future<void> onCaptureOrientationLockButtonPressed()

Implementation

Future<void> onCaptureOrientationLockButtonPressed() async {
  if (cameraController == null) return;
  orientationUnlock = !orientationUnlock;
  appBarController.sink.add(true);
  cameraViewController.sink.add(true);
}