setAspectRatio method
Change the current CameraAspectRatios one of CameraAspectRatios.ratio_16_9 CameraAspectRatios.ratio_4_3 CameraAspectRatios.ratio_1_1
Implementation
Future<void> setAspectRatio(CameraAspectRatios ratio) async {
await CamerawesomePlugin.setAspectRatio(ratio.name);
_aspectRatioController.add(ratio);
}