`Running "flutter pub get" in accident_reporting... 9.4s
Launching lib\main.dart on vivo 1917 in debug mode...
Compiler message:
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:72:24: Error: The method
'NetworkImageWithRetry.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(NetworkImageWithRetry key) {
^
/C:/flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:461:24: Error:
The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(CachedNetworkImageProvider key) {
^
/C:/flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/data_review_and_upload-0.0.4/lib/data_review_and_upload.dart:155:44:
Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
Img.Image smallerImg = Img.copyResize(image, 500);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/image-2.1.12/lib/src/transform/copy_resize.dart:14:7: Context: Found this
candidate, but the arguments don't match.
Image copyResize(Image src,
^^^^^^^^^^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_map-0.5.0/lib/src/layer/overlay_image_layer.dart:40:27: Error: The
argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
stream.removeListener(listener);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_map-0.5.0/lib/src/layer/overlay_image_layer.dart:43:22: Error: The
argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
stream.addListener(listener);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:335:20: Error: The
argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'while resolving a picture',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:337:33: 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'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:432: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'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:495: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'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:559: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'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_stream.dart:92:3: Error: The
superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
PictureStream();
^^^^^^^^^^^^^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_stream.dart:252:16: Error: The argument
type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: context,
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_stream.dart:297:18: Error: The argument
type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'resolving a single-frame picture stream',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/svg.dart:158:18: Error: The argument type 'String'
can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'picture failed to precache',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:75: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'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:168:65: Error: The argument type
'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: '$runtimeType failed to load ${instructions.uri}',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:199:38: Error:
The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
oldImageStream?.removeListener(_handleImageChanged);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:200:32: Error:
The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
_imageStream.addListener(_handleImageChanged);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:210:34: Error:
The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart'
('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
_imageStream?.removeListener(_handleImageChanged);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:465: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'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/svg/parser_state.dart:395:35: 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'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer buff) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/svg/parser_state.dart:404:22: Error: The
argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'in _Element.clipPath',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/svg/parser_state.dart:794: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'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer buff) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/svg/parser_state.dart:805:18: Error: The
argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'in parseSvgElement',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/utilities/errors.dart:8:32: Error: The argument
type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'in $methodName',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/utilities/errors.dart:10:29: 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'
('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer buff) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_stream.dart:190:16: Error: The
superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
abstract class PictureStreamCompleter extends Diagnosticable {
^
Compiler message:
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:72:24: Error: The method 'NetworkImageWithRetry.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(NetworkImageWithRetry key) {
^
/C:/flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:461:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(CachedNetworkImageProvider key) {
^
/C:/flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/data_review_and_upload-0.0.4/lib/data_review_and_upload.dart:155:44: Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
Img.Image smallerImg = Img.copyResize(image, 500);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/image-2.1.12/lib/src/transform/copy_resize.dart:14:7: Context: Found this candidate, but the arguments don't match.
Image copyResize(Image src,
^^^^^^^^^^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_map-0.5.0/lib/src/layer/overlay_image_layer.dart:40:27: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
stream.removeListener(listener);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_map-0.5.0/lib/src/layer/overlay_image_layer.dart:43:22: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
stream.addListener(listener);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:335:20: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'while resolving a picture',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:337:33: 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' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:432: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' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:495: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' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_provider.dart:559: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' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
PictureStream();
^^^^^^^^^^^^^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_stream.dart:252:16: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: context,
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_stream.dart:297:18: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'resolving a single-frame picture stream',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/svg.dart:158:18: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'picture failed to precache',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:75: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' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:168:65: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: '$runtimeType failed to load ${instructions.uri}',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:199:38: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
oldImageStream?.removeListener(_handleImageChanged);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:200:32: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
_imageStream.addListener(_handleImageChanged);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:210:34: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('/C:/flutter/packages/flutter/lib/src/painting/image_stream.dart').
_imageStream?.removeListener(_handleImageChanged);
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/cached_network_image-0.5.1/lib/cached_network_image.dart:465: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' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer information) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/svg/parser_state.dart:395:35: 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' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer buff) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/svg/parser_state.dart:404:22: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'in _Element.clipPath',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/svg/parser_state.dart:794: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' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer buff) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/svg/parser_state.dart:805:18: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'in parseSvgElement',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/utilities/errors.dart:8:32: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
- 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
context: 'in $methodName',
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/utilities/errors.dart:10:29: 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' ('/C:/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
informationCollector: (StringBuffer buff) {
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.12.3/lib/src/picture_stream.dart:190:16: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
abstract class PictureStreamCompleter extends Diagnosticable {
^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
BUILD FAILED in 2m 30s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 151.8s (!)
Exception: Gradle task assembleDebug failed with exit code 1`