Open beauty:
cameraFlutterPluginDemo? .enableBeauty(true);
Set the beauty level (0 ~ 1):
cameraFlutterPluginDemo? .setBeautyLevel(1);
Take photos:
cameraFlutterPluginDemo? .takePicture();
Start shooting video:
cameraFlutterPluginDemo? .takeVideo();
End shooting video:
cameraFlutterPluginDemo? .stopVideo();
Switch shots:
cameraFlutterPluginDemo? .switchCamera();
Set LoadImageResource(Stored in the Caches directory by default):
cameraFlutterPluginDemo?.setLoadImageResource();
Set OuPutFilePath:
cameraFlutterPluginDemo?.setOuPutFilePath();
Add filter:
cameraFlutterPluginDemo?. addFilter("@adjust saturation 0 @adjust level 0 0.83921 0.8772");