Skip to content

Commit

Permalink
Merge pull request #313 from osamaasifoak/patch-1
Browse files Browse the repository at this point in the history
Usage updated as per the new update.
  • Loading branch information
hnvn authored Feb 19, 2022
2 parents 60bbd45 + 77f933d commit e510e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ The result file is saved in `NSTemporaryDirectory` on iOS and application Cache
import 'package:image_cropper/image_cropper.dart';
File croppedFile = await ImageCropper.cropImage(
File croppedFile = await ImageCropper().cropImage(
sourcePath: imageFile.path,
aspectRatioPresets: [
CropAspectRatioPreset.square,
Expand Down

0 comments on commit e510e44

Please sign in to comment.