-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type 'ImageDecoderCallback' not found. #32
Comments
I can't reproduce this, it finds it for me. Which Flutter version do you use? |
I use => ImageStreamCompleter load(UiImageProvider key,DecoderCallback callback) |
You probably use a very old Flutter SDK then. The old approach before |
=> |
Yes, that's a problem. We're at 3.10 now, not 3.7. You haven't upgraded your Flutter for quite some time -- four months, actually, as it shows. |
Ive fixed this @deakjahn |
1.0.10.
Running Gradle task 'assembleDebug'...
../../.pub-cache/hosted/pub.dev/crop_image-1.0.10/lib/src/crop_controller.dart:352:55: Error: Type 'ImageDecoderCallback' not found.
ImageStreamCompleter loadImage(UiImageProvider key, ImageDecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/crop_image-1.0.10/lib/src/crop_controller.dart:352:55: Error: 'ImageDecoderCallback' isn't a type.
ImageStreamCompleter loadImage(UiImageProvider key, ImageDecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered: