Error when running flutter pub run build_runner build --delete-conflicting-outputs

Viewed 28

I'm trying to integrate a smart contract into my flutter and I'm referring to this example. I have included all the dependencies and dev_dependencies in the first step and I'm stuck in the second step where this error occurs where the system could not find the path to builders.dart in the web3dart package. error pic

1 Answers

After updating Flutter to version 2.5.2, there were some conflicts even though no code was changed, therefore I use any in pubspec.yaml.

 dependencies:
      flutter:
        sdk: flutter
      moor: ^4.5.0
      provider: ^5.0.0
      path_provider: any
      path: ^1.8.0
    
    dev_dependencies:
      flutter_test:
        sdk: flutter
      moor_generator: any
      build_runner: any
      flutter_launcher_icons: any
Related