Skip to content

Dando problema mesmo adicionando dependency_overrides #4

@thiagosmagalhaes

Description

@thiagosmagalhaes

I created a new project, I did the steps informed, but even adding everything as informed I still get the error:

% flutter packages pub run build_runner build --delete-conflicting-outputs

[INFO] Generating build script...
[INFO] Generating build script completed, took 586ms

[INFO] Precompiling build script......
[WARNING] ../.pub-cache/hosted/pub.dartlang.org/flutter_design_codegen-0.0.12-pre+2/lib/src/ast.dart:29:7: Error: The non-abstract class 'ToSourceIgnoringDesignAnnotationsVisitor' is missing implementations for these members:

  • AstVisitor.visitConstructorSelector
  • AstVisitor.visitEnumConstantArguments
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class ToSourceIgnoringDesignAnnotationsVisitor implements AstVisitor {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../.pub-cache/hosted/pub.dartlang.org/analyzer-3.4.1/lib/dart/ast/ast.dart:405:6: Context: 'AstVisitor.visitConstructorSelector' is defined here.
R? visitConstructorSelector(ConstructorSelector node);
^^^^^^^^^^^^^^^^^^^^^^^^
../.pub-cache/hosted/pub.dartlang.org/analyzer-3.4.1/lib/dart/ast/ast.dart:423:6: Context: 'AstVisitor.visitEnumConstantArguments' is defined here.
R? visitEnumConstantArguments(EnumConstantArguments node);
^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] Precompiling build script... completed, took 806ms

[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.

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