You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiler message:
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-0.7.0/lib/src/cached_network_image_provider.dart:46:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable Function()'.
'StringBuffer' is from 'dart:core'.
'Iterable' is from 'dart:core'.
'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('../../../development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'Iterable Function()'.
informationCollector: (StringBuffer information) {
^
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/photo_view-0.2.5/lib/photo_view.dart:279:24: Error: The argument type 'Null Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('../../../development/flutter/packages/flutter/lib/src/painting/image_stream.dart').
'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('../../../development/flutter/packages/flutter/lib/src/painting/image_stream.dart').
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
stream.addListener(listener);
^
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/photo_view-0.2.5/lib/photo_view.dart:281:29: Error: The argument type 'Null Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('../../../development/flutter/packages/flutter/lib/src/painting/image_stream.dart').
'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('../../../development/flutter/packages/flutter/lib/src/painting/image_stream.dart').
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
stream.removeListener(listener);
^
Compiler failed on /home/glenn/Desktop/flutterprojects/flutter_unsplash/lib/main.dart
Compiler message:
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-0.7.0/lib/src/cached_network_image_provider.dart:46:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable Function()'.
Try changing the type of the parameter, or casting the argument to 'Iterable Function()'.
informationCollector: (StringBuffer information) {
^
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/photo_view-0.2.5/lib/photo_view.dart:279:24: Error: The argument type 'Null Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
stream.addListener(listener);
^
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/photo_view-0.2.5/lib/photo_view.dart:281:29: Error: The argument type 'Null Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
stream.removeListener(listener);
^
Compiler failed on /home/glenn/Desktop/flutterprojects/flutter_unsplash/lib/main.dart
FAILURE: Build failed with an exception.
Where:
Script '/home/glenn/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 765
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebugArm64'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 10s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 10.7s
Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered: