OmarYehiaDev

Error No.8

May 10th, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 2.42 KB | None | 0 0
  1. Launching lib\main.dart on Android SDK built for x86 in debug mode...
  2.  
  3. Compiler message:
  4. ../../flutter/.pub-cache/hosted/pub.dartlang.org/flushbar-1.9.1/lib/flushbar_route.dart:273:8: Error: The method 'FlushbarRoute.install' has more required arguments than those of overridden method 'OverlayRoute.install'.
  5.   void install(OverlayEntry insertionPoint) {
  6.        ^
  7. ../../flutter/packages/flutter/lib/src/widgets/routes.dart:41:8: Context: This is the overridden method ('install').
  8.   void install() {
  9.        ^
  10. ../../flutter/.pub-cache/hosted/pub.dartlang.org/flushbar-1.9.1/lib/flushbar_route.dart:281:18: Error: Too many positional arguments: 0 allowed, but 1 found.
  11. Try removing the extra positional arguments.
  12.     super.install(insertionPoint);
  13.                  ^
  14. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  15. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  16. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  17.  
  18. Compiler message:
  19. ../../flutter/.pub-cache/hosted/pub.dartlang.org/flushbar-1.9.1/lib/flushbar_route.dart:273:8: Error: The method 'FlushbarRoute.install' has more required arguments than those of overridden method 'OverlayRoute.install'.
  20.   void install(OverlayEntry insertionPoint) {
  21.        ^
  22. ../../flutter/packages/flutter/lib/src/widgets/routes.dart:41:8: Context: This is the overridden method ('install').
  23.   void install() {
  24.        ^
  25. ../../flutter/.pub-cache/hosted/pub.dartlang.org/flushbar-1.9.1/lib/flushbar_route.dart:281:18: Error: Too many positional arguments: 0 allowed, but 1 found.
  26. Try removing the extra positional arguments.
  27.     super.install(insertionPoint);
  28.                  ^
  29. Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
  30. build failed.
  31.  
  32. FAILURE: Build failed with an exception.
  33. * Where:
  34. Script 'C:\Native\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882
  35. * What went wrong:
  36. Execution failed for task ':app:compileFlutterBuildDebug'.
  37. > Process 'command 'C:\Native\flutter\bin\flutter.bat'' finished with non-zero exit value 1
  38.  
  39. * Try:
  40. 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.
  41.  
  42. * Get more help at https://help.gradle.org
  43. BUILD FAILED in 5m 39s
  44. Exception: Gradle task assembleDebug failed with exit code 1
  45. Exited (sigterm)
Add Comment
Please, Sign In to add comment