GithubHelp home page GithubHelp logo

sheikhsoft / accident_reporting Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 25.0 365 KB

A Flutter Accident reporting App working in both iOS and Android

Home Page: http://www.sheikhsoft.com

License: MIT License

Kotlin 4.51% Ruby 28.81% Swift 5.21% Objective-C 0.48% Dart 60.98%

accident_reporting's Introduction

sheikhsoft

accident_reporting's People

Contributors

sheikhsoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

accident_reporting's Issues

I run the command "flutter run" and get this error.

`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.

  • Where:
    Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

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`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.