cropImage method
Future<String?>
cropImage({
- required String sourcePath,
- double? aspectRatioX,
- double? aspectRatioY,
- List<
CropAspectRatioPreset> ? aspectRatioPresets, - int quality = 90,
override
Implementation
@override
Future<String?> cropImage({
required String sourcePath,
double? aspectRatioX,
double? aspectRatioY,
List<CropAspectRatioPreset>? aspectRatioPresets,
int quality = 90,
}) async {
// We are not implementing the web platform, so we throw an error.
throw UnimplementedError('cropImage() has not been implemented on the web.');
}