Closed luccaslyra closed 3 weeks ago
Same issue here.
DartError: TypeError: null: type 'Null' is not a subtype of type 'JSObject'
dart-sdk/lib/_internal/js_dev_runtime/private/ddcruntime/errors.dart 296:3 throw
errors.dart:296
dart-sdk/lib/_internal/js_shared/lib/rti.dart 1405:3 _failedAsCheck
rti.dart:1405
dart-sdk/lib/_internal/js_shared/lib/rti.dart 1383:3 _generalAsCheckImplementation
rti.dart:1383
dart-sdk/lib/_internal/js_shared/lib/js_util_patch.dart 81:5 getProperty
js_util_patch.dart:81
packages/printing/printing_web.dart 196:32 layoutPdf
printing_web.dart:196
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50
same issue here
Same issue here.
I also have the same error in flutter version 3.24.2, can someone help?
Which version of the printing
and web
packages do you use?
Hi,
web: ^1.1.0 printing: ^5.13.3
It's fixed in the master branch. Let me publish version 5.13.4 with that.
Thank you @DavBfr for quickly acting on this! 🏆
Don't hesitate to Buy Me A Coffee.
Have you managed to solve it yet? Help me Is the problem with the printing package or the pdf?
Thanks @DavBfr, you're awesome !
@emanuelmarlon yes, it was the printing dependencie, i just updated to latest one(the one they just released 5.13.4)
it's a flutter web app testing on chrome. Before flutter 3.24.3 it was working fina, but now i got this erro:
errors.dart:296 Uncaught (in promise) DartError: TypeError: null: type 'Null' is not a subtype of type 'JSObject' at Object.throw_ [as throw] (errors.dart:296:3) at Object._failedAsCheck (rti.dart:1405:3) at dart_rti.Rti.new._generalAsCheckImplementation (rti.dart:1383:3) at Object.getProperty (js_util_patch.dart:81:5) at printing_web.PrintingPlugin.new.layoutPdf (printing_web.dart:196:32) at layoutPdf.next () at async_patch.dart:45:50