setAspectRatio method

Future<void> setAspectRatio(
  1. CameraAspectRatios ratio
)

Implementation

Future<void> setAspectRatio(CameraAspectRatios ratio) async {
  await CamerawesomePlugin.setAspectRatio(ratio.name);
  _aspectRatioController.add(ratio);
}