dart_pdf icon indicating copy to clipboard operation
dart_pdf copied to clipboard

Error: No named parameter with the name 'size'

Open SpaceWhales opened this issue 1 year ago • 6 comments

../../AppData/Local/Pub/Cache/hosted/pub.dev/printing-5.11.1/lib/src/widget_wrapper.dart:173:11: Error: No named parameter with the name 'size'. size: ^^^^ ../../libraries/flutter/packages/flutter/lib/src/rendering/view.dart:24:9: Context: Found this candidate, but the arguments don't match. const ViewConfiguration({ ^^^^^^^^^^^^^^^^^ Failed to compile application.

Flutter 76.3.3 Dart 231.9409 printing: 5.11.1 The above problem occurs after updating to the corresponding version.

SpaceWhales avatar Dec 04 '23 09:12 SpaceWhales

Encountered the exact same issue when using GitHub Actions for one of our projects. But it runs smoothly on local systems, be it using flutter run or flutter build appbundle --release

Sameer330 avatar Dec 08 '23 12:12 Sameer330

Yes, it's because you use the flutter unstable branch. See #1551

DavBfr avatar Dec 08 '23 12:12 DavBfr

Hi @DavBfr , It occur when I'm using Flutter stable 3.22.2

rossnguyen avatar Jun 27 '24 11:06 rossnguyen

This is happening in Flutter 3.22.0 as well

gerardo-m avatar Jul 07 '24 05:07 gerardo-m

Same problem here Flutter (Channel stable, 3.22.2, on Microsoft Windows [versÆo 10.0.22631.3737], locale pt-BR)

wantroba avatar Jul 09 '24 14:07 wantroba

flutter pub upgrade

Fixed de problem

wantroba avatar Jul 09 '24 14:07 wantroba