b2cm / id_ideal_wallet

Wallet Application supporting DIDs, VCs and DIDComm
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Error: No named parameter with the name 'constraints'. #1

Open hpelitebook745G2 opened 10 months ago

hpelitebook745G2 commented 10 months ago

Getting the following error when compiling:

../../../../../../.pub-cache/git/dart_pdf-9dfbd52c5af65e6c4eb111614115ebcde26f8681/printing/lib/src/widget_wrapper.dart:173:11: Error: No named parameter with the name 'constraints'.
          constraints: ui.ViewConstraints.tight(
          ^^^^^^^^^^^
../../../../../../tools/flutter/packages/flutter/lib/src/rendering/view.dart:28:9: Context: Found this candidate, but the arguments don't match.
  const ViewConfiguration({
        ^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

* Where:
Script '/Users/<user>/tools/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1454

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/Users/<user>/tools/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 5s
Running Gradle task 'assembleDebug'...                              5.7s
Error: Gradle task assembleDebug failed with exit code 1

I ran:

flutter upgrade
flutter pub upgrade

Flutter version:

Flutter 3.19.0-3.0.pre.31 • channel master • https://github.com/flutter/flutter.git
Framework • revision ee4afd7179 (2 hours ago) • 2024-01-10 10:45:31 -0500
Engine • revision b361a60ae2
Tools • Dart 3.4.0 (build 3.4.0-12.0.dev) • DevTools 2.31.0
shabaadh commented 9 months ago

same for me