-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
build error in flutter 1.10.15, ExtendedMemoryImageProvider.load' has fewer positional arguments than those of overridden method 'MemoryImage.load'. #80
Comments
please use previous-version for now, i will fix it as soon as possible |
please provide version of flutter sdk , i didn't see any problem from my side |
Cached_network_image package has the exact same issue, they provided an RC as a temporary fix due to the breaking change in Flutter SDK. |
ok, thanks, I see,i will fix it in dev branch as soon as possible. you can use it as git url |
please add following code to your pubspec.yaml for now. i have fixed build error in dev branch, i will publish it to pub.com when 1.10.15 is in stable branch dependency_overrides:
extended_image_library:
git:
url: https://github.com/fluttercandies/extended_image_library.git
ref: dev |
dependency_overrides:
extended_image_library:
git:
url: https://github.com/fluttercandies/extended_image_library.git
ref: dev Weird, when I get it from git like you mentioned, it pulls version 0.1.9 even though that's not what it says on that branch... |
@ThinkDigitalSoftware extended_image_library is 0.1.9 on dev branch |
Hi my results after i did flutter pub get:
|
Is this issue resolved already? kindly post solution please... tried above...still getting same error as the title of the issue. Thanks! |
@hmilitar it's right. i will publish it to pub.com when 1.10.15 is in stable branch dependency_overrides: |
Unfortunately this does not help! Still have the same crash. Flutter is 1.11.0. So how to fix this? |
double check your extended_image_library version , it should be 0.1.9 at your side. |
pubspec.lock shows 1.0.8. I commented extended_image and extended_image_library in pubspec.yaml to remove them from lock-file (maybe some caching) then I add them again. Version is 1.0.8. P.S. By the way I don't see 1.0.9 version on git. Only this ## [0.1.8] |
I am sorry my mistake. I wrote rev instead of ref. Now looks good. Thanks! |
fixed? |
fixed version is on pub |
@zmtzawqlp I have same error in extend_image 0.6.8 and extend_image_library 0.1.9. Although the argument type is specified, I don't think What is DecoderCallback? |
double check your local version .remove lock and packages , run flutter packages get .@masashi-sutou |
@zmtzawqlp Thank you for your reply. I try remove
Sorry if wrong, type should be for now, I take the workaround.
|
extended_image: 0.6.8 include extended_image_library 0.1.9 , it's fixed the build error |
and I use Flutter (Channel stable, v1.9.1+hotfix.6, on Linux, locale C.UTF-8). you should not use lastest version of extended image, see more #89 |
/D:/Program%20Files/Flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_image_library-0.1.9/lib/src/extended_asset_bundle_image_provider.dart:88:54: Error: 'DecoderCallback' isn't a type. 我的这样提示 使用的flutter是1.9.1 hotfix.6 咋办 |
|
Thank you for maintaining this package. |
pub.flutter-io.cn/extended_image_library-0.1.8/lib/src/extended_me
mory_image_provider.dart:12:24: Error: The method 'ExtendedMemoryImageProvider.load' has fewer positional arguments
than those of overridden method 'MemoryImage.load'.
ImageStreamCompleter load(MemoryImage key) {
The text was updated successfully, but these errors were encountered: