Skip to content

58 Bugs On The Code  #1

@jackie20

Description

@jackie20

FAILURE: Build failed with an exception.

                                    ^^^^^^^^^^^

/.pub-cache/hosted/pub.dev/file-5.2.1/lib/src/interface/file.dart:16:16: Error: The method 'File.create' has fewer named arguments than those of overridden method 'File.create'.
Future create({bool recursive = false});
^
org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:232:16: Context: This is the overridden method ('create').
Future create({bool recursive = false, bool exclusive = false});
^
/.pub-cache/hosted/pub.dev/file-5.2.1/lib/src/interface/file.dart:16:16: Error: The method 'File.create' doesn't have the named parameter 'exclusive' of overridden method 'File.create'.
Future create({bool recursive = false});
^
org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:232:16: Context: This is the overridden method ('create').
Future create({bool recursive = false, bool exclusive = false});
^
/.pub-cache/hosted/pub.dev/file-5.2.1/lib/src/forwarding/forwarding_file.dart:23:8: Error: The method 'ForwardingFile.createSync' has fewer named arguments than those of overridden method 'File.createSync'.
void createSync({bool recursive = false}) =>
^
org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync').
void createSync({bool recursive = false, bool exclusive = false});
^
/.pub-cache/hosted/pub.dev/file-5.2.1/lib/src/forwarding/forwarding_file.dart:23:8: Error: The method 'ForwardingFile.createSync' doesn't have the named parameter 'exclusive' of overridden method 'File.createSync'.
void createSync({bool recursive = false}) =>
^
/.pub-cache/hosted/pub.dev/file-5.2.1/lib/src/interface/file.dart:13:16: Context: This is the overridden method ('createSync').
abstract class File implements FileSystemEntity, io.File {
^
lib/sos_activate.dart:18:24: Error: The method 'FlatButton' isn't defined for the class '_SOSActivateState'.

  • '_SOSActivateState' is from 'package:divergent/sos_activate.dart' ('lib/sos_activate.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
    child: FlatButton(
    ^^^^^^^^^^
    lib/screens/blind/sos/sos_dialog.dart:48:21: Error: Couldn't find constructor 'RaisedButton'.
    new RaisedButton(
    ^^^^^^^^^^^^
    lib/screens/blind/home.dart:169:30: Error: The method 'FlatButton' isn't defined for the class '_HomePageState'.
  • '_HomePageState' is from 'package:divergent/screens/blind/home.dart' ('lib/screens/blind/home.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
    child: FlatButton(
    ^^^^^^^^^^
    lib/screens/blind/home.dart:182:30: Error: The method 'FlatButton' isn't defined for the class '_HomePageState'.
  • '_HomePageState' is from 'package:divergent/screens/blind/home.dart' ('lib/screens/blind/home.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
    child: FlatButton(
    ^^^^^^^^^^
    lib/screens/blind/ocr/dialog_ocr.dart:33:32: Error: The method 'RaisedButton' isn't defined for the class 'ocrDialog'.
  • 'ocrDialog' is from 'package:divergent/screens/blind/ocr/dialog_ocr.dart' ('lib/screens/blind/ocr/dialog_ocr.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
    child: RaisedButton(
    ^^^^^^^^^^^^
    lib/screens/blind/ocr/dialog_ocr.dart:50:32: Error: The method 'RaisedButton' isn't defined for the class 'ocrDialog'.
  • 'ocrDialog' is from 'package:divergent/screens/blind/ocr/dialog_ocr.dart' ('lib/screens/blind/ocr/dialog_ocr.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
    child: RaisedButton(
    ^^^^^^^^^^^^
    lib/screens/blind/ocr/dialog_ocr.dart:69:32: Error: The method 'RaisedButton' isn't defined for the class 'ocrDialog'.
  • 'ocrDialog' is from 'package:divergent/screens/blind/ocr/dialog_ocr.dart' ('lib/screens/blind/ocr/dialog_ocr.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
    child: RaisedButton(
    ^^^^^^^^^^^^
    lib/screens/blind/currency_detection/currency.dart:83:32: Error: Method not found: 'RaisedButton'.
    child: RaisedButton(
    ^^^^^^^^^^^^
    Target kernel_snapshot failed: Exception
  • Where:
    Script '/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1151

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

Process 'command '/flutter/bin/flutter'' 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 21s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions