Error: Named parameter 'Element' is required and can't have a default value.
required Element =super.value,
^^^^^^^
: Error: Expected identifier, but got 'super'.
required Element =super.value,
^^^^^
Error: No named parameter with the name 'value'.
value: this,
^^^^^
: Context: Found this candidate, but the arguments don't match.
_ElementDiagnosticableTreeNode({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: Error: The superclass, 'DiagnosticableTreeNode', has no unnamed constructor that takes no arguments.
_ElementDiagnosticableTreeNode({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: Error: No named parameter with the name 'value'.
value: this,
^^^^^
: Context: Found this candidate, but the arguments don't match.
_ElementDiagnosticableTreeNode({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
* Where:
line: 1159
* What went wrong:
Execution failed for task '
appcompileFlutterBuildDebug'.
Process 'command 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 6m 50s
Exception: Gradle task assembleDebug failed with exit code 1