Flutter 颤振圆形图像裁剪
我正在使用图像裁剪器库,并尝试在图像选择器之后裁剪圆形图像。 UI显示为圆形,但输出图像文件未进行圆形裁剪 使用的图书馆Flutter 颤振圆形图像裁剪,flutter,ucrop,Flutter,Ucrop,我正在使用图像裁剪器库,并尝试在图像选择器之后裁剪圆形图像。 UI显示为圆形,但输出图像文件未进行圆形裁剪 使用的图书馆 image\u裁剪器:1.4.0 实现'com.github.yalantis:ucrop:2.2.6' await ImageCropper.cropImage( sourcePath: _photoUrlFile.path, compressQuality: 99, cropStyle: CropStyle.circle, compressFormat:
image\u裁剪器:1.4.0
实现'com.github.yalantis:ucrop:2.2.6'
await ImageCropper.cropImage(
sourcePath: _photoUrlFile.path,
compressQuality: 99,
cropStyle: CropStyle.circle,
compressFormat: ImageCompressFormat.png,
androidUiSettings: AndroidUiSettings(
toolbarColor: Colors.orange,
toolbarWidgetColor: Colors.white,
toolbarTitle: 'Crop It'),
);