1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 16:25:17 +00:00

Run pub update

This commit is contained in:
2022-03-10 18:07:15 +01:00
parent 42b4f99efa
commit cd7cafe315
2 changed files with 63 additions and 49 deletions

View File

@ -29,7 +29,7 @@ Future<BytesFile> showImageCropper(BuildContext context, BytesFile source,
file = await generateTemporaryFile();
await file.writeAsBytes(source.bytes);
File cropped = await ImageCropper.cropImage(
File cropped = await ImageCropper().cropImage(
sourcePath: file.absolute.path,
compressFormat: ImageCompressFormat.png,
aspectRatio: aspectRatio,