Open ImmortalKDN1 opened 2 years ago
cropImage is no longer a static to the class. I would think await ImageCropper().cropImage(
... would work. I did not take a look to see if that was a desired change or not, because for silly reasons, I only needed my project to build.
ImageCropper() latest version is not available on Stable, please advise ? to handle this issue ?
It is available. image_cropper: ^1.5.0
ImageCropper().cropImage(
Indeed! It's working when using ImageCropper().cropImage(.... Thank you!
1.4.1 to 1.5.0 should not have a breaking change per the versioning guidelines, this affects anyone using cropImage with ^1.4.1 or earlier versions of 1.x.x
1.4.1 to 1.5.0 should not have a breaking change per the versioning guidelines, this affects anyone using cropImage with ^1.4.1 or earlier versions of 1.x.x
I agree. Since there is a breaking change, the major version number should be incremented.
Same issue, has anyone found a solution or are we just downgrading back to 1.4.1? thanks.
Hi I don't know what is going on, my code was working fine 2 weeks ago. And now I have this error. Please Help Me!
Running Gradle task 'assembleRelease'...
lib/screens/create_event.dart:678:40: Error: Method not found: 'ImageCropper.cropImage'.
lib/screens/manage_event.dart:1245:40: Error: Method not found: 'ImageCropper.cropImage'.
FAILURE: Build failed with an exception.
Script '/buildtools/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1005
Execution failed for task ':app:compileFlutterBuildRelease'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
BUILD FAILED in 2m 49s
Running Gradle task 'assembleRelease'... 169.7s
Gradle task assembleRelease failed with exit code 1