Skip to content

No named parameter with the name 'size'. print_commands #53

@leandroviegas

Description

@leandroviegas

I just updated the flutter to the new version and I'm getting this error:

/C:/Users/Leandr/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_star_prnt-2.4.0/lib/src/print_commands.dart:205:9: Error: No named parameter with the name 'size'.
size: logicalSize,
^^^^
/C:/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 'C:\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1629

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

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