Compiler message:
file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:87:3: Error: Type 'ImageStreamListener' not found.
ImageStreamListener _imageListener;
^^^^^^^^^^^^^^^^^^^
F/crash_dump64(24342): crash_dump.cpp:472] failed to attach to thread 24337: Permission denied
file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:87:3: Error: 'ImageStreamListener' isn't a type.
ImageStreamListener _imageListener;
^^^^^^^^^^^^^^^^^^^
file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:164:11: Error: Method not found: 'ImageStreamListener'.
ImageStreamListener(_updateImage, onError: widget.onImageError);
^^^^^^^^^^^^^^^^^^^
file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:164:11: Error: The method 'ImageStreamListener' isn't defined for the class 'CropState'.
'CropState' is from 'package:image_crop/image_crop.dart' ('file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/image_crop.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ImageStreamListener'.
ImageStreamListener(_updateImage, onError: widget.onImageError);
^^^^^^^^^^^^^^^^^^^
file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/photo_view-0.4.2/lib/photo_view.dart:369:9: Error: Method not found: 'ImageStreamListener'.
ImageStreamListener((ImageInfo info, bool synchronousCall) {
^^^^^^^^^^^^^^^^^^^
file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/photo_view-0.4.2/lib/photo_view.dart:369:9: Error: The method 'ImageStreamListener' isn't defined for the class '_PhotoViewState'.
'_PhotoViewState' is from 'package:photo_view/photo_view.dart' ('file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/photo_view-0.4.2/lib/photo_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ImageStreamListener'.
ImageStreamListener((ImageInfo info, bool synchronousCall) {
^^^^^^^^^^^^^^^^^^^
Compiler failed on /Users/psh/Desktop/todo-list-app-master/lib/main.dart
Finished with error: Gradle task assembleDebug failed with exit code 1
Compiler message: file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:87:3: Error: Type 'ImageStreamListener' not found. ImageStreamListener _imageListener; ^^^^^^^^^^^^^^^^^^^ F/crash_dump64(24342): crash_dump.cpp:472] failed to attach to thread 24337: Permission denied file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:87:3: Error: 'ImageStreamListener' isn't a type. ImageStreamListener _imageListener; ^^^^^^^^^^^^^^^^^^^ file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:164:11: Error: Method not found: 'ImageStreamListener'. ImageStreamListener(_updateImage, onError: widget.onImageError); ^^^^^^^^^^^^^^^^^^^ file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:164:11: Error: The method 'ImageStreamListener' isn't defined for the class 'CropState'.