Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Error With Override #35

Closed
JohnMeyerhoff opened this issue May 23, 2020 · 2 comments
Closed

Error With Override #35

JohnMeyerhoff opened this issue May 23, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@JohnMeyerhoff
Copy link

Same issue as Baseflow/flutter_cached_network_image#270

Compiler message:
../../../DEV/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-1.1.3/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) {
^
../../../DEV/flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^

@wakahuula
Copy link
Owner

Thanks for letting me know @TwoHorus!

@wakahuula wakahuula added the bug Something isn't working label May 27, 2020
@wakahuula
Copy link
Owner

Not able to reproduce this anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants