Skip to content
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

The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'. #9

Closed
ChanchleshSuryawanshi opened this issue Jan 24, 2020 · 1 comment

Comments

@ChanchleshSuryawanshi
Copy link

Is the source code obsolete?

Compiler message:
../../Documents/Workspace/flutter/.pub-cache/hosted/pub.dartlang.org/cached_netw
ork_image-1.1.0/lib/src/cached_network_image_provider.dart:42:24: Error: The
method 'CachedNetworkImageProvider.load' has fewer positional arguments than
those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(CachedNetworkImageProvider key) {
^
../../Documents/Workspace/flutter/packages/flutter/lib/src/painting/image_provid
er.dart:403:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);

Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than
those of overridden method 'ImageProvider.load'.

@anujrathore131
Copy link

Yup, same issue if you solved it please guide me..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants