A Flutter Accident reporting App working in both iOS and Android

Overview

Flutter Accident Reporting App

A Flutter Accident reporting App working in both iOS and Android.This project total size of all Dart files is 4714 bites. The packages used in this project all are dynamic and have have broad applicability. Specially the human_anatomy package is super unique, developer can use that package for medical relative app. For view the app submit result please visit http://www.sheikhsoft.com/accident-reporting/index.php

Contribution

Developed By Sk SHAMIMUL ISLAM (http://www.sheikhsoft.com)

Concept Design by Johnyvino (http://johnyvino.com)

Demo

||||||

Video Demo

https://www.youtube.com/watch?v=q0FlApQriS4&feature=youtu.be

Installation

Run flutter run in your terminal.

For view the result of the App please visit

http://www.sheikhsoft.com/accident-reporting/index.php

Goals for this sample

The Global status report on road safety 2015, reflecting information from 180 countries, indicates that worldwide the total number of road traffic deaths has plateaued at 1.25 million per year.

A report of Gazette Review by By Barry W Stanton on March 31, 2017, says that Rape crime rates are going higher in many countries.

Not only road collisions and abuse cases, there are also Assaults, Abduction, Larceny, fire disasters in various parts of the world.

When people come across any such conflicts, they crave to report to the police. But their fear hinders them.

my goal in to give developer some tools so that they can defend crime on level best and contribute to the society.

and the flowing article also encourage me to develop the app and open source it.

https://medium.muz.li/save-our-souls-93d822ddbdd

The important bits

for MacOs No configuration required - the project should work out of the box.

The Project Developed On MacOs platform so if you run it on windows it will be show some error like Flutter SDk or Android SDk not Found. In that case you have to flow this step.

  • create a new flutter project(include kotlin and swift)
  • add the flowing two permission in your 'AndroidManifest.xml' file
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  page_transition: ^1.0.9
  swipe_button: ^0.0.2
  human_anatomy: ^0.0.2
  data_review_and_upload: ^0.0.4
  analog_time_picker: ^0.0.2
  custom_radio_button: ^0.0.3
  location_and_image_picker: ^0.0.3
  • Replace your 'main.dart' by the project 'main.dart'

  • You are ready to go...

please read the packages documentation for learning more about the project

You might also like...

TicTacToe Using flutter. For both android and ios

mt_tictactoe A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Nov 27, 2022

A horoscope forecasting application for both Android and iOS

A horoscope forecasting application for both Android and iOS

Zodoscope A Horoscope Forcasting Application Built with Flutter, for Android and iOS API used: http://horoscope-api.herokuapp.com/ Key Features All Zo

Sep 25, 2022

This project was writed with pure dart code,which means it's support both iOS and Android.

This project was writed with pure dart code,which means it's support both iOS and Android.

This project was writed with pure dart code,which means it's support both iOS and Android. Screenshot Todo show/hide animation Usage You can find the

Dec 24, 2022

🎬 A movie catalog app for both Android & IOS ~ Flutter.io project in Dart | Dart, Bloc, Movies

Movie Catalog App 🎬 Browse through movies from the YIFY api Getting Started For help getting started with Flutter, view our online documentation. Tod

Nov 21, 2022

Schedule & run Dart code in the background on both Android & iOS

flt_worker The flt_worker plugin allows you to schedule and execute Dart-written background tasks in a dedicated isolate, by utilizing the WorkManager

Nov 27, 2022

WooCommerce App template that uses Flutter. Integrated to work with WooCommerce stores, connect and create an IOS and Android app from Flutter for IOS and Android

WooCommerce App template that uses Flutter. Integrated to work with WooCommerce stores, connect and create an IOS and Android app from Flutter for IOS and Android

WooCommerce App: Label StoreMax Label StoreMax - v5.3.1 Official WooSignal WooCommerce App About Label StoreMax Label StoreMax is an App Template for

Jan 9, 2023

Simple app for both Android and Windows to sync Audio Trip songs from the Audio Trip Choreography Discord

ATCD Choreography Sync Simple app for both Android (Oculus Quest native) and Windows (PCVR) to sync Audio Trip songs from the Audio Trip Choreography

Nov 15, 2022

A Flutter plugin for changing the Home Screen, Lock Screen (or both) Wallpaper on Android devices.

A Flutter plugin for changing the Home Screen, Lock Screen (or both) Wallpaper on Android devices.

wallpaper_manager A Flutter plugin for changing the Home Screen, Lock Screen (or both) Wallpaper(s) on Android devices. Usage Installation In the pubs

Nov 28, 2022

This package helps developer to sort the flutter/dart packages and plugins alphabetically, This makes it easier when managing too many packages and when working with teams

This package helps developer to sort the flutter/dart packages and plugins alphabetically, This makes it easier when managing too many packages and when working with teams

Package helps to sort the flutter/dart packages and plugins alphabetically, This makes it easier when managing too many packages and when working with

Dec 21, 2022
Comments
  • I run the command

    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`

    opened by prashantsingh2408 0
Owner
sk shamimul islam
sk shamimul islam
Bug reporting SDK for Flutter apps.

Shake for Flutter Flutter plugin for Shake. How to use Install Shake Add Shake to your pubspec.yaml file. dependencies: shake_flutter: ^15.0.0 I

Shake 13 Oct 18, 2022
Flutterbodydetection - A flutter plugin that uses MLKit on iOS/Android platforms to enable body pose and mask detection using Pose Detection and Selfie Segmentation APIs for both static images and live camera stream.

body_detection A flutter plugin that uses MLKit on iOS/Android platforms to enable body pose and mask detection using Pose Detection and Selfie Segmen

null 18 Dec 5, 2022
A mobile application for both android and ios made for work out and fitness purpose

It's a mobile application for both android and ios made for work out and fitness purpose with many features you can read about here, but it can be used under all subject you want, well architected code and organized !

Gwhyyy 20 Dec 18, 2022
Notefy - Task Saving App for both Android and iOS

Assignment for Flutter Developers Goal of the assignment is to: -> Show the capa

Atabek 0 Jan 25, 2022
Telnyx flutter - A Flutter package for both android and iOS which helps developers with Telnyx API services

Telnyx Flutter A Flutter package for both android and iOS which helps developers

Kfir Matityahu 0 Jan 23, 2022
Flutter Local Notifications - Learn how to implement local notifications into both Android and iOS using flutter_local_notifications plugin.

Flutter Local Notifications Example Flutter Local Notifications - Learn how to implement local notifications into both Android and iOS using flutter_l

Sandip Pramanik 12 Nov 29, 2022
A Basic Currency Converter made for both iOS and Android using the flutter.io platform

FlutterCurrencyConverter A Basic Currency Converter made for both iOS and Android using the flutter.io platform This app uses the ExchangeRate-API for

Carlo Gabriel Villalon Tapales 40 Nov 23, 2022
💳 A Flutter package for making payments via credo central. Provides support for both Android and iOS

?? Credo Package for Flutter TODO: Put a short description of the package here that helps potential users know whether this package might be useful fo

Samuel Abada 0 Dec 26, 2021
A Flutter plugin to get location updates in the background for both Android and iOS

Background Location A Flutter plugin to get location updates in the background for both Android and iOS (Requires iOS 10.0+). Uses CoreLocation for iO

Ali Almoullim 181 Jan 4, 2023
Klutter plugin makes it possible to write a Flutter plugin for both Android and iOS using Kotlin only.

The Klutter Framework makes it possible to write a Flutter plugin for both Android and iOS using Kotlin Multiplatform. Instead of writing platform spe

Gillian 33 Dec 18, 2022