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

引入extended_image到主项目中,报错 #120

Closed
yfm-pliny opened this issue Dec 27, 2019 · 1 comment
Closed

引入extended_image到主项目中,报错 #120

yfm-pliny opened this issue Dec 27, 2019 · 1 comment

Comments

@yfm-pliny
Copy link

flutter版本 1.9.1+hotfix.6 ,是我用到方式不对吗?
报错日志:
/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_image_library-0.1.9/lib/src/extended_memory_image_provider.dart:19:48: Error: 'DecoderCallback' isn't a type.
Future<ui.Codec> _loadAsync(MemoryImage key, DecoderCallback decode) {
^^^^^^^^^^^^^^^
/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_image_library-0.1.9/lib/src/extended_file_image_provider.dart:13:44: Error: 'DecoderCallback' isn't a type.
ImageStreamCompleter load(FileImage key, DecoderCallback decode) {
^^^^^^^^^^^^^^^
/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_image_library-0.1.9/lib/src/extended_file_image_provider.dart:23:46: Error: 'DecoderCallback' isn't a type.
Future<ui.Codec> _loadAsync(FileImage key, DecoderCallback decode) async {
^^^^^^^^^^^^^^^
/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_image_library-0.1.9/lib/src/extended_asset_bundle_image_provider.dart:35:54: Error: 'DecoderCallback' isn't a type.
ImageStreamCompleter load(AssetBundleImageKey key, DecoderCallback decode) {
^^^^^^^^^^^^^^^
/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_image_library-0.1.9/lib/src/extended_asset_bundle_image_provider.dart:52:32: Error: 'DecoderCallback' isn't a type.
AssetBundleImageKey key, DecoderCallback decode) async {
^^^^^^^^^^^^^^^
/Applications/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.
ImageStreamCompleter load(AssetBundleImageKey key, DecoderCallback decode) {
^^^^^^^^^^^^^^^
/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_image_library-0.1.9/lib/src/extended_asset_bundle_image_provider.dart:105:32: Error: 'DecoderCallback' isn't a type.
AssetBundleImageKey key, DecoderCallback decode) async {
^^^^^^^^^^^^^^^

@zmtzawqlp
Copy link
Member

double check #89

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