../../../../../../.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
Getting the following error when compiling:
I ran:
Flutter version: