isOriginalAspectRatioEnabled method

  1. @override
Future<bool> isOriginalAspectRatioEnabled()

Determine whether current aspect ratio is the original aspect ratio of video.the camera.
Return true if is original aspect ratio, otherwise false.

Implementation

@override
Future<bool> isOriginalAspectRatioEnabled() async {
  return await methodChannel
      .invokeMethod<bool>('isOriginalAspectRatioEnabled')
      .then<bool>((bool? value) => value ?? false);
}